Reverse colored PLUS42 menu labels

112 views
Skip to first unread message

Manoel Oliveira

unread,
Sep 5, 2023, 11:26:20 AM9/5/23
to Free42 & Plus42
Greetings! Could someone please explain why some menu labels in the Plus42 appear in reversed color?
label.jpg
Thank you...

Thomas Okken

unread,
Sep 5, 2023, 6:26:37 PM9/5/23
to Free42 & Plus42
In directory listings, that is, the DIRS catalog, three kinds of items are shown together: sub-directories, programs, and variables. In these listings, programs are shown in black-on-white to set them apart, so you can tell at a glance which items are directories, which are programs, and which are variables.

Note that you can also tell which is which by pressing and holding a menu key, and looking at the function that is being displayed. For sub-directories, this will be CHDIR "DIRNAME" (or UPDIR for the parent directory ".."); XEQ "LABEL" for programs; and RCL "VARNAME" for variables.

Further, in the variable menus shown when you press RCL and other functions, and the label menus shown by XEQ, black-on-white is used to indicate items that are in ancestor directories. The ones in white-on-black are labels or variables in the current directory.

Finally, in the top-level EQN menu, there are black-on-white up- and down-arrow keys. I made those look different to emphasize the fact that they perform a different operation than the ▲ and ▼ keys. It's also a bit of an aesthetic choice: I wanted the menu to look like the one in the 17B.

Thomas Okken

unread,
Sep 27, 2023, 5:10:06 AM9/27/23
to Free42 & Plus42
I revisited the menu logic and realized I missed several cases of black-on-white menu options in Plus42:

In the SOLVER and ∫f(x) menus, there is a black-on-white "=", which takes you to EQN mode;
In EQN mode, when you press CALC to enter SOLVE mode, and the current equation has no top-level = sign, the SOLVE menu will include a black-on-white EVAL option, which evaluates the equation directly, without solving for anything;
In EQN mode, when you press CALC to enter SOLVE mode, and the current equation has a name and a parameter list (e.g. F(X):A*X^2+B*X+C), the parameters from the list are shown in white-on-black, while any variables that are referenced by the function and are not in the parameter list are shown in black-on-white;
In the PLOT->PARAM->XAXIS and YAXIS menus, the STK option is shown in black-on-white, while all the variables referenced by the equation, or MVAR parameters defined by the program, are shown in white-on-black;
In the second row of CATALOG, the white-on-black EQN option shows the list of equation variables, while the black-on-white EQN option shows the list of named equations in EQN mode.

In all but the last of these cases, my intent was to highlight the fact that the menu options in question is not a variable or label, but performs a special operation. The only exception to this design principle is the black-on-white EQN sub-catalog in CATALOG; I used it there, really just as a quick hack, because I couldn't think of a good way to distinguish the two EQN sub-catalogs by name, and I ended up just leaving it that way.
Reply all
Reply to author
Forward
0 new messages