예제 #1
0
        /// <summary>Reads the specified line from a file and stores the text in a variable.</summary>
        /// <param name="Filename">The name of the file to access, which is assumed to be in %A_WorkingDir% if an absolute path isn't specified.</param>
        /// <param name="LineNum">Which line to read (1 is the first, 2 the second, and so on). This can be an expression.</param>
        public static string FileReadLine(this string Filename, string LineNum)
        {
            _AHK ahk = new _AHK();

            return(ahk.FileReadLine(Filename, LineNum));
        }