Alias

Top  Previous  Next

Alias are mnemonic names for GPRM registers. The Alias table is saved with the project.

You can change the Alias directly in the GPRM table

 

clip0172

 

Simply double click on any item and type the new Alias:

 

clip0173

 

You can use both in the code - the GPRM name and its alias:

 

GPRM3 += 2

LoopPoint += 2

 

Alias definition in the code

You can also change the Alias table directly from the code. This is a good way to make sure the Alias table is always set correctly.

The best way is to add the ALIAS before any block

 

ALIAS GPRM3 LoopPoint

 

PRE "Menu 1"

 LoopPoint += 2

...

 

Alias name is not case sensitive.