Creating a menu in Basic:
Firstly, I used to HP basic on the 71B and 75. There are enhanced math functions but they lack the visual component being single line LCD. Yes there are some graphics capabilities as they are both dot matrix displays.
However, MMBasic has a LOT more functions. The manual is good but trying to find a function followed by an example similar to the HP manuals is not available.
This leads me to the following questions:
1
I would like to create a menu with selectable routines. At the moment each routine has been created as a standalone program.
Similar to this:
aviation
1 great circle navigation
2 intermediate latitude (plotting)
3 rhumb line navigation
4 cold temperature altimeter correction
5 fuel on board
6 conversions
Each of the above routines are standalone now and require the chdir and run commands. What I would like to do is select the appropriate numbered key and have the routine run.
2
In HP Basic we could create LEX programs to extend the function list, for example HMSHR.LEX is a LEX function that converts decimal degrees (time) to degrees (hours) minutes seconds and vice versa.
I see that we can create functions that do the same thing. I have created the routine to convert both ways and at the moment it is a standalone subroutine embedded in the first three routines listed above, which is of course, a waste of space. I would like to change this routine into a function in the form of:
HMS(ddd.mm.ss)
3
Am I correct in thinking that the new STM upgrade will fix the “statement too long” message in the Pico editor. And will allow me to scroll through the entire line created on my laptop, then transferred to my PicoCalc?
That’s all for now, I will hit the books and experiment to solve the above but help would be nice
Cheers, Geoff (newbie to MMBasic)