Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cfscript.me - Created a "cfoutput()" on converted tag based code. #46

Open
Grimdari opened this issue Nov 15, 2021 · 0 comments
Open

Cfscript.me - Created a "cfoutput()" on converted tag based code. #46

Grimdari opened this issue Nov 15, 2021 · 0 comments

Comments

@Grimdari
Copy link

Grimdari commented Nov 15, 2021

The following tag-based code:

<cfloop condition="#atribEnum.hasMore()#"> <cfset attribute = atribEnum.next()> <cfoutput>#attribute.toString()#</cfoutput><br /> </cfloop>

Created the following cfscript:

`while ( condition="#atribEnum.hasMore()#" ) {
attribute = atribEnum.next();
cfoutput( ) {

	writeOutput("#attribute.toString()#");
}

writeOutput("<br />");

}`

The cfoutput() {} is not required nor valid cfscript.

Apologies for the above cfscript. I could not get it to stay in the code tags. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant