blusol.io
  • Blog
  • Home
  • A Quick Understanding of ColdFusion Scope Variables

A Quick Understanding of ColdFusion Scope Variables

29 Dec

A Quick Understanding of ColdFusion Scope Variables

By Andrew Davis ColdFusion 0 Comments

I stole this from the #cfml-general slack channel from @bdw492 and I'm keeping it here for reference.

One of the biggest trip up for Java people are CF scopes.

The this scope is actually public members to an object.

variables is private (but still shared for the whole object).

Then, inside functions, you have the arguments scope and function local scope.

Share this post


Categories

  • ColdBox (0)
  • ColdFusion (6)
  • CommandBox (4)
  • ContentBox (0)
  • ContentBox (6)
  • ContentBox Modules (3)
  • ContentBox Widgets (1)
  • Docker (4)
  • News (0)

Site Updates

  • RSS Feed

Entry Comments

  • RSS Feed

Archives

  • November 2024 (1)
  • May 2024 (1)
  • October 2023 (1)
  • January 2019 (2)
  • November 2018 (1)
  • May 2017 (3)
  • March 2017 (1)
  • February 2017 (2)
  • January 2017 (1)
  • December 2016 (2)
  • November 2016 (3)
Coldfusion Developer since 1999

Newsletter

Keep up on our always evolving product features and technology. Enter your e-mail and subscribe to our newsletter.

Success! You've been added to our email list.

Latest Tweets

Please wait...

Contact Us

Follow Us

�� Copyright 2025. All Rights Reserved.