| LogToFile( filename, textline ) | |
|---|---|
| Parameters: | |
| Name | Type |
| filename | string |
| textline | string |
| Explanation | |
| Appends a single line to a text file, adds newlines, creates file if it does not exist. | |
| By default, no package has any file access rights. To grant access, see config/fileaccess.cfg | |
| Return values | |
| 1 or error | |
| Errors | |
| "Invalid parameter type" | |
| "Error in filename descriptor" | |
| "No parent path traversal please." | |
| "Access denied" | |
| "Unable to open file: X" | |
| "Error during write." | |
| Related Configs | |
| fileaccess.cfg | |
If you know if any information is incorrect on these pages, mail your corrections to racalac@polserver.com
Copyright ©2003-2011 David Carpman, all rights reserved. DO NOT REPRODUCE, MIRROR, ALTER, SPINDLE, MUTILATE, OR SIT ON.