Post Reply 
CSTMENU: multilevel custom menu with soft keys
01-09-2021, 11:16 AM
Post: #2
RE: CSTMENU: multilevel custom menu with soft keys
I just detected a small typo in the first version posted last January 8th, but with negligible impact. It is an input syntax check. However, the program has been updated in the main first post.
For those curious, the typo was in line 28. Originally it was written:
Code:
   IF TYPE(menuTMP(1))==2 AND TYPE(menuTMP(2)) THEN
    menuBAR(n):=menuTMP(1);
    menuCMD(n):=menuTMP(2);
   ELSE
    RETURN "Error in CST var format";
   END;

The correct writing is:
Code:
   IF TYPE(menuTMP(1))==2 AND TYPE(menuTMP(2))==2 THEN
    menuBAR(n):=menuTMP(1);
    menuCMD(n):=menuTMP(2);
   ELSE
    RETURN "Error in CST var format";
   END;

Ramón
Valladolid, Spain
TI-50, Casio fx-180P, HP48GX, HP50g, HP Prime G2
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: CSTMENU: multilevel custom menu with soft keys - ramon_ea1gth - 01-09-2021 11:16 AM



User(s) browsing this thread: 1 Guest(s)