Friedrich,

I seem to be stuck writing a variable to a text file surrounded by [%VARIABLE%]

I get a GEN1019_D error: Unknown compiler variable name.

All I am trying to do is to write a line of text to a file in the following format - [01]... %VARIABLE% is set to 01.
If I write %VARIABLE% I do not get the error, but putting [] around it causes the error.

So how can I write that variable to a text file surrounded by []?????

This problem is absolutely killing me and causing me to pull out my hair... How silly!

Thanks for the assist, again...
Kel