PureBytes Links
Trading Reference Links
|
At 8:18 AM -0800 3/4/00, DonC wrote:
>Does anyone have an idea of how one would print the value of a
>a boolean variable with a FileAppend statement ,i.e., print
>TRUE or FALSE ?
>
>I have a boolean input which is used to control the logic,
>and I wish to print its value in the output file (not the
>Print Log - it prints OK there using "binput:4" w/o the parens).
>
>Using a FileAppend statement the Power Editor always says
>"String operation expected", no matter what I try (even string
>operations).
>
>Any ideas ?
Try the following code:
Var: Str1("");
if <your_variable> then Str1 = "TRUE" else Str1 = "FALSE";
then use the variable Str1 in your FileAppend statement.
Bob Fulks
|