| Examples:
In this example a value '5' will be written to a file.
res = OpenFile(1,"D:\\file.txt","w")
if (res)
val = 5
Put (1,val)
CloseFile(1)
EndIf
Return value:
If the function succeeds, the return value is True.
If the function fails, the return value is False. |