KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Naming a variable
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: October 13, 2000
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

You can name variables anything you'd like with these three rules:

1. The maximum number of characters in a variable name is 31.
2. The dollar sign ($) prefix indicates a local variable.
3. You cannot use reserved words, constants or the same name as your methods.

The following are some of the words that you cannot use:

* On Load
* Red
* Is new Record
* Pi
* Return
* Tab