Quite
If you run this code you do not have the same result.
* a file Template_File.htm in c:\temp * [Exemple<br>><%=lcNotGood%>] m.lcGood = [This is a goog name for my Variables] m.lcPage = RenderAspScript( [c:\temp\template_file.htm], 1)
Regards
Hi Michel,
I'm not sure what the extra code your showing me represents? If the code has syntax errors the VFP application is going to error. I'm not sure what your trying to say here? Are you saying you want to trap the error and display it to the user in the browser?
Regards
Richard
Hi Richard
Thank you for your reply
I have the following error
Invalid path or file name
in line 286 of wwscriptiing.prg
Hi Michel,
The small sample provided indicates an error would occur as you say; where is lcNotGood defined? Although you do not need to define a variable explicitly this script will probably not automatically convert the logical variable lcNotGood to string as the output requires. I assume the error your reciving is "Operator / Operand type mismatch" or something along those lines, but I do not know this as you have not told us what the error is??
Regards
Richard
Hello,
I think I found a small bug with this exemple.
I get an error.
What do you think,