TrashCan Games 2020-01-15 04:07
It’s for one of my games
Timo 2020-01-15 06:58
A$=“HELLO”
PRINT A$
What exactly do you want to do?
was8bit 2020-01-15 12:36
OR, maybe this is what you want...
DIM STORYLINE$(5)
FOR I=1 to 5
READ STORYLINE$(I)
NEXT I
DATA "Tommy woke up one morning"
DATA "He felf a little funny....."
DATA "He could not sit up!"
DATA "Swinging left to right he rolled out of bed"
DATA "When he hit the floor he saw he had 8 legs and no arms!"
(Trivia, can you guess what storyboook i got that from?)
was8bit 2020-01-15 12:40 (Edited)
La metamorfosi (Die Verwandlung)
Novella by Franz Kafka
Or in english "The Metamorphosis"
... one of my all time favorite novels :)
TrashCan Games 2020-01-15 13:23
I want to if possible (it’s probably not) convert a sting like “6” to a variable 6 even better if the string was “words 6” to var 6
Timo 2020-01-15 13:54
Ah, so it’s converting a string variable to a number variable.
S$=“6”
N=VAL(S$)
If there are more words in the string it’s more complicated. You would have to create a substring first. Check the functions INSTR, MID$, LEFT$,...
was8bit 2020-01-15 15:25
This might be helpful :)
TrashCan Games 2020-01-16 03:02
Thanks