Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7670551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:50:54+00:00 2026-05-31T15:50:54+00:00

Why does this fail: <CFIF isdefined(URL.3dfile)>…</CFIF> with following message: Parameter 1 of function IsDefined,

  • 0

Why does this fail:

<CFIF isdefined("URL.3dfile")>...</CFIF>

with following message:

Parameter 1 of function IsDefined, which is now URL.3dfile, must be a syntactically valid variable name.

and this won’t:

<CFIF structkeyexists(URL,"3dfile")>...</CFIF>

Is the way it get’s parsed not much the same? And .. are variables starting with numbers invalid or aren’t they?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:50:55+00:00Added an answer on May 31, 2026 at 3:50 pm

    Seybsen – variables names should not begin with a number. This is likely a legacy of older non-java version of CF Where a variable was not part of an object.

    However, in the java world everything IS an object. This leads to a syntactical nuance. If you are using variable names in dotted notation your var name will likely throw an error. But use it in other ways and it will succeed.

    So this sort of syntax works
    url['33foo']

    But setting a variable name directly – 33foo = true – will not work.

    Here’s a post with a full explanation.

    http://www.coldfusionmuse.com/index.cfm/2005/9/8/isdefined%20vs%20structkeyexists

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Why does this code fail to compile with VS 2005: #include <boost/bind.hpp> #include <boost/function.hpp>
Why does this fail, it's supposed to be simple and work ? fisier.seekg(0, ios::end);
Why does this code fail to display the category name Apples using the current
Does this pattern: setTimeout(function(){ // do stuff }, 0); Actually return control to the
Why does this fail: DECLARE @DATE VARCHAR(50) = 'dasf' SELECT CASE WHEN ISDATE(@DATE) =
Why does this code fail? #include <algorithm> int main() { int a[10]; enum {
Why does this first if compile well and the second fail? if(proceed) {int i;}
I can't understand why does this code fail with segfault: #include <cstdlib> #include <iostream>
Why does this fail to compile: int myVar = 0; myVar ? []()->void{} :
Why does this fail to compile with GCC 4.4? template<typename T> class A {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.