Posted: 27 Mar 2010 17:22 | ||
Registered User Currently Offline |
Posts: 3 Join Date: Mar 2010 |
|
Allow multiple string parameters for filewriteline similar to the the definition of print, so that debug (print) to production (filewriteline) just requires single global find-and-replace. |
Posted: 27 Mar 2010 22:08 | ||
Registered User Currently Offline |
Posts: 3 Join Date: Mar 2010 |
|
It seems that the principal difference between print and filewriteline is the output target. Perhaps would be possible change print command to include <target> parameter:
Code:
print [<variable> | <constant>, ...], [logfile | openfile] where openfile indicates that the output should be directed to the file opened with fileopen and logfile is default value to remain compatible with existing code. |
Posted: 06 Apr 2010 10:15 | ||
Moderator Currently Offline |
Posts: 367 Join Date: Nov 2008 |
|
Currently, the strprint command can be used to aggregate multiple parameters into a variable and then pass it to the filewriteline command.
Your suggestion to be able to do this directly with filewriteline has been passed on to our developers. |