Emu48--can I programmatically construct a 'NAME'?
|
12-23-2022, 04:56 AM
Post: #1
|
|||
|
|||
Emu48--can I programmatically construct a 'NAME'?
I want to let my program construct global names under Emu48/HP48GX. Here is the use case: character generation for a role-playing game. The game provides a number of skills with (human) defaults, and each sapient species alters this list: dwarves know nothing of Boating but are adept with Mineral Lore, for example.
So I want the stack to be 2: {list-of-adjustments} 1: 'SPECIES-CODE' and the program DO$ADJ will handle the overwriting/merging of the list, first making a copy of the defaults (SP$SKB) and assigning it to, say, 'DW$SKB' for dwarves, which name I want to construct in-program. Simply concatenating 'DW' and '$SKB'gives 'DW+$SKB', which isn't what I want given my naming conventions. I suppose I could just join 'DW' and 'SKB' yielding 'DW+SKB', but is there a way to get the name I want? Charles? He was my grandfather. --Oh, *that* Charles. We share a common ancestor. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Emu48--can I programmatically construct a 'NAME'? - rickster - 12-23-2022 04:56 AM
RE: Emu48--can I programmatically construct a 'NAME'? - DavidM - 12-23-2022, 11:37 AM
RE: Emu48--can I programmatically construct a 'NAME'? - Gil - 12-27-2022, 01:21 AM
RE: Emu48--can I programmatically construct a 'NAME'? - DavidM - 12-27-2022, 04:38 AM
|
User(s) browsing this thread: 1 Guest(s)