You can now do this
button(0, 0, "hi", NULL);
command(BUTTON, buttonnumber, 0, 0); ` operate on the previously made button
Previously you had to do:
int i = button(0, 0, "hi", NULL);
command(BUTTON, i, 0, 0); ` operate on the previously made button
In stead of
menu(4, "Show Radix Lines", go);
menu(4, "Show Radix Planets", go);
menu(4, "Show House Lines", go);
command(MENU, 4, AUTOCHECK, 1);
command(MENU, 5, AUTOCHECK, 1);
command(MENU, 6, AUTOCHECK, 1);
It's easier to do this
menu(4, "Show Radix Lines", go);
command(MENU, menunumber, AUTOCHECK, 1);
menu(4, "Show Radix Planets", go);
command(MENU, menunumber, AUTOCHECK, 1);
menu(4, "Show House Lines", go);
command(MENU, menunumber, AUTOCHECK, 1);
In the last example you can now delete / add / change the order of the menu()'s without having to change the numbers for command().
This applies to: buttonnumber, scrollnumber, editnumber, updownnumber and menunumber;