Post Reply 
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Emu48--can I programmatically construct a 'NAME'? - rickster - 12-23-2022 04:56 AM



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