I'm trying to generate an HTML file that has some javascript in it. When I try to create and set a variable to false, the TEXT command is translating this to .F. and of course the script complains when it runs. How do I get the TEXT command to not convert false to .F.?
Here's what I've got,
SET TEXTMERGE OFF NOSHOW
STORE FCREATE(somehtmlfile) TO _TEXT
TEXT
<html><head><title>
blah, blah, blah...
<script>
var myVar1=2000;
var myVar2=false; // <<-- This gets written out as "var myVar2 = .F."
blah, blah, blah...
</script>
ENDTEXT
=FCLOSE(_TEXT)
TIA
Mike