50g questions (dispatch, menu number, CODEM)
|
07-21-2021, 11:59 PM
Post: #3
|
|||
|
|||
RE: 50g questions (dispatch, menu number, CODEM)
(07-21-2021 11:29 AM)BINUBALL Wrote: 1. Finding menu number using only hp 50g itself Joe has already answered this. (07-21-2021 11:29 AM)BINUBALL Wrote: 2. Dispatch more than 5 objects Nothing built-in, but you can always check in multiple stages. After the initial dispatch, check for further argument types and use case statements accordingly. Use a default action of raising a bad argument error for the case structure if none of the types match. This is essentially how certain built-in commands such as DOLIST and DOSUBS deal with optional arguments. (07-21-2021 11:29 AM)BINUBALL Wrote: 3. CODEM Different compilers, different syntax. CODEM starts a MASD code object if your project is developed in the Debug4x environment. The built-in ASM on the 50g doesn't recognize the CODEM keyword, however, and uses CODE for the same thing. It just depends on what compiler you use. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
50g questions (dispatch, menu number, CODEM) - BINUBALL - 07-21-2021, 11:29 AM
RE: 50g questions (dispatch, menu number, CODEM) - Joe Horn - 07-21-2021, 07:45 PM
RE: 50g questions (dispatch, menu number, CODEM) - DavidM - 07-21-2021 11:59 PM
RE: 50g questions (dispatch, menu number, CODEM) - BINUBALL - 07-23-2021, 01:00 AM
|
User(s) browsing this thread: 1 Guest(s)