Name Conventions

Parent Previous Next

Name Conventions.

When naming classes, functions or variables the following rules must be applied:

The letters can be Unicode letters.

It is safe to use expressive naming. All names are removed by the compiler and do not exist in the bytecode.

Please keep in mind that SCRAMBLECODE is not case sensitive.


 //The names of these 4 variables are okay.

 Integer i, i77, My, _my;

 //These 4 names are not okay.

 Integer 77i, qwe<rty, pct%, big time;

 //Not okay. Same variable declared 3 times.

 Integer sum, Sum, SUM;

Protected Keywords.

SCRAMBLECODE uses a number of protected keywords, which may not be used as identifiers - irrespective of their letter casing. These words are listed here in alphabetic order: