KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Naming a variable
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: October 13, 2000

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