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

Re: EL _ Strings



PureBytes Links

Trading Reference Links

There is an undocumented function that allows you to do this.  I use it to 
convert Boolean to text for debugging when embedding strings in the Expert 
Commentary. The function is Text(variabletobeconvertedtotext).

If your variable is XYZ then you would FileAppend(filename.txt, Text(XYZ));
This feature should be used with caution since it is undocumented and has 
been known to create strangeness such as Windows Locking and weird 
results.  It works well with Boolean. In TS4.0 there was no problem and it 
easily converted any for of characters to string.  TS2000 is not so agreeable.


At 08:18 AM 3/4/00 -0800, you 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 ?
>
>donc

Bill Brower
Email: 1000mileman@xxxxxxxxxxxxxx
Web Site: insideedge.net