So ancient BASIC didn't have hashmap/dictionaries so people stored them in...

@mistersql

So ancient BASIC didn't have hashmap/dictionaries so people stored them in variables wrapped in IF-GOTO blocks.
key = line of code
value = variable assigned there
And you got the key by filtering through an IF statement per key in the structure. Nasty! No structs/classes/tuples/arrays, just lots of variable names. Nasty!

Self-replies

So I give it to and say, modernize this and use dictionaries. He only goes half way. The full data structure in modern terms was a List[Dict[int,Class[string, float, bool]]] and ChatGPT couldn't see that.

Anyhow. Still saves typing to let ChatGPT do first pass as translating the code.