I wrote a 'system' where i can obtain a string from a RCDATA using indexes like:
100L, "HELLO\0"
101L, "HELLO TOO\0"
The hello part is used to store flags as well (not shown).
I just wonder how i can do something like this:
100L, "1 or 2 or 8"
Of course, this remains text, i need the or'd flag but in readable text.
It should be "11"
I don't think it is possible but would like to try.
100L, "HELLO\0"
101L, "HELLO TOO\0"
The hello part is used to store flags as well (not shown).
I just wonder how i can do something like this:
100L, "1 or 2 or 8"
Of course, this remains text, i need the or'd flag but in readable text.
It should be "11"
I don't think it is possible but would like to try.
Comment