Dani R. wrote: ↑
Tue May 12, 2020 6:24 pm
Jaymos wrote: ↑
Mon May 11, 2020 10:57 pm
... I am still busy with coding the text file config for XEQMENU (and as H2X suggested, maybe the text file config works well for the fixed 3 screens of the HOME menu too. I think that will be sweet.)...
There is a file or several files which can be prepared on a PC. You can store 18 RPN programs in it. Or maybe more.
Currently the thinking is to start with a single file, which has the sole purpose of defining 18 labels X_P1 to X_g6.
Currently it has a fixed file name, but later, once it can be figured out how to do the file browser, you can select the file. You could have different files in /PROGRAMS/.
Does the program parser already exist?
Yes, I did that this week.
Are these programs independent of the programming model the WP43S will receive?
It does NOT share the 43S programming space (which does not yet exist in the code).
It is not a programming space, even though it can sequence a few commands for convenience and if the official programming model will be accessible, I will change it to accommodate that.
Will it be possible to call these programs via XEQ ALHPA?
No. Not while the index of items is working as it does.
The 18 items are simply called X_P1 in the index of items, but I will not include "X_P1" in the catalog.
The custom display will translate X_P1 to say DIAMTR, or SIDES, or FUEL or whatever "name" you give it in the text file.
I don't know the WP-34S, so these questions can be strange.
These are good questions and the answers have nothing to do with the 34S.
I think H2X thought it would be a bit simpler, but this is more complicated. Basically, you can imagine that you "only" store the key codes in the menu table, the 'item'.
The main purpose is to have a PC file based launcher menu, to group programs.
If later, the 43S MyMenu system becomes PC file based, I will probably retire this system. Or if they have a text file based LOAD/SAVE file to store all settings including MyMenu, then we do not need separate file menu configs. Somehow I doubt it though, so until then, I have a XEQ menu.
But if you don't know the numbers of the item, it becomes difficult. Then you would have to have a utility program on your PC to select and place the functions.
One way would be do do a Excel lookup for the codes, but as you say that becomes complicated. Currently, my parser/launcher looks for either the NAME or the CODE. I also have a macro recorder at the moment, which helps to start a text file faster.
Here is an example of what the parser currently reads as my test program. White space is ignored, so you can space it vertically or horizontally. Codes are not necessary, I do the decoding in my parser, but it is debatable if really all the codes must be in the minimal parser:
Code: Select all
TICKS X<>Y "2" EXIT X<>Y Y^X "1" - NPRIME X<>Y TICKS X<>Y - "10.0" / RETURN
Here is an example of what the recorder currently writes (to another file on the drive). It writes the code and a comment with the name:
Code: Select all
622 // TICKS//
780 // -//
148 // ENTER##//
84 // CLX//
127 // DROP##//
1523 // EXIT//
Possibly not only limited in the menu, but also some of the f/g-shift keys.
I did not include calling softmenus or shifts. I must still add the possibility to call a menu name.
What does XEQM do, does it open the last loaded file with the 18 menu entries into the menu? Will this menu remain in the menu stack? Does it leave with EXIT?
I don't know these answers. I was thinking to have one of the 18 items in this menu something like "LOADFILE", after which it will remember the last file name selected. I was thinking that it is a "normal" menu, going into the menu stack.
Is the file browser to load the configuration an additional command?
The file browser will be to change the file name to another file, i.e. another 18 commands in a menu.
How does it fit together with MyMenü?
At the moment it does not interact with MyMenu. Except that MyMenu is just another standard menu with a code, that can be called from X_P1 or whatever.
Regardless of this discussion, I think if I were to make an app with my thought experiment, which I certainly am not doing at the moment, I think the logical position for ALPHA is on f[XEQ]. (Hidden clue.) Which would have a big impact on the whole layout.
Duplication of ALPHA on the keyboard is possible in your thought experiment of course!
Maybe I do a KEYS profile for your thought experiment!