Copy link to clipboard
Copied
Hello -
I am using CF 2021 with Windows ser2016
I'm attempting to run this simple .cfm from repl but I can't do it.
Here's the .cfm. It's called test0.cfm
<cfscript>
writeOutput("Hello World");
CLI.writeLn("");
CLI.writeLn("Hello World using cli.writeLn);
</cfscript>
When I run it from repl I get the following error:
cf-cli>test0.cfm
coldfusion.compiler.CFMLParserBase$UnterminatedStringException: The string is not closed.
I thought I was able to use tags according to this article
https://coldfusion.adobe.com/2018/07/repl-coldfusion-2018-release/
You're missing a closing quote in the argument for CLI.writeLn. It should be
CLI.writeLn("Hello World using cli.writeLn");
Dave Watts, Eidolon LLC
Copy link to clipboard
Copied
You're missing a closing quote in the argument for CLI.writeLn. It should be
CLI.writeLn("Hello World using cli.writeLn");
Dave Watts, Eidolon LLC
Copy link to clipboard
Copied
Thank you so much!!!
Copy link to clipboard
Copied
You're welcome!
Dave Watts, Eidolon LLC