ph_itcsavedata PowerHome formula function
Description
Saves previously retrieved data in the specified Internet Transfer Control to the specified file.
Syntax
ph_itcsavedata ( n, s, n )
Argument |
Description |
n
|
A number from 1 to 10 representing the ITC you wish to save data from.
|
s
|
A string representing the file to save to.
|
n
|
The writemode to use. A 0 will append data to the file. Any other value will overwrite the file.
|
Return value
Integer. Returns 0 if successful. If the ITC has NOT been created, then 1 is returned. 2 is returned if the specified ITC is outside of the range of 1 to 10. 3 is returned if the ITC is busy. 4 is returned if a runtime error occurs. 5 is returned if the file cannot be opened.