| Examples:
In this example value '2' is written as string.
res = OpenFile(1,"D:\\file.txt","w")
if (res)
val1 = "Hello"
val2 = 2
res1 = Write (1,val1)
res2 = Write (1,val2)
CloseFile(1)
EndIf
Return value:
If the function succeeds, the return value is True.
If the function fails, the return value is False.
All values in the Write function is written as string. If
you need write binary data use Put function. |