[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: EL _ Strings



PureBytes Links

Trading Reference Links

Yep...that is the only way....there is no "booltostr" conversion.
For this very reason, I use number variables despite being less efficient.

Plus, there is no way to "optimize" with booleans as parameters...is there ?


-----Original Message-----
From: Bob Fulks [mailto:bfulks@xxxxxxxxxxxx]
Sent: Saturday, March 04, 2000 11:54 AM
To: DonC
Cc: omega-list@xxxxxxxxxx
Subject: Re: EL _ Strings


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