View Full Version : FileNum.
Jason2gs
03-13-2007, 12:19 AM
Can someone explain to me how to use the [part of a] command "FileNum"?
It's used in WriteToFile, and stuff like that.
Please help,
Mike.
Pentti
03-13-2007, 12:59 PM
program New;
var YourFile:Integer; //FileNum as integer
begin
YourFile:=ReWriteFile('C:\Program Files\Scar 2.03\',False) //Creates "filenum"
WriteFileString(YourFile,'This is text you want to write') //Writes text in it.
end.
Hope this will help.
Jason2gs
03-13-2007, 07:39 PM
Thanks, Pent ;)
That did help.
Pentti
03-13-2007, 08:47 PM
Thanks, Pent ;)
That did help.
Alright nice to hear that it helped. :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.