Difference between revisions of "GetTopLineTXTFile"
From scripting
(Created page with " int $YYY = GetTopLineTXTFile("c:\\mayacount.txt"); global proc int GetTopLineTXTFile(string $Path) { //Nick Pisca 0001d, string $Path = "c:\\mayacount.txt"; string...") |
(No difference)
|
Latest revision as of 06:02, 22 April 2017
int $YYY = GetTopLineTXTFile("c:\\mayacount.txt"); global proc int GetTopLineTXTFile(string $Path) { //Nick Pisca 0001d, string $Path = "c:\\mayacount.txt"; string $exampleFileName = ( $Path ); string $s; $fileId=`fopen $exampleFileName "r"`; $s=`fread $fileId $s`; fclose $fileId; return $s; }
Related Functions: ChangeTopLineTXTFile
More information on strings and naming, read pages 28-37 in YSYT.