Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I need the user to enter a phrase, every letter of the phrase is to go into an array, which I would then display. The problem is that phrase would include commas and points, but when I type a comma, I get a "redo from start". How can I allow the user to enter commas into the phrase.
This is what I have:
INPUT "Enter a phrase: ", Phrase$
Length = LEN(Phrase$)
DIM Word$(1 TO Length)
FOR Count = 1 TO Length
Letter$ = MID$(Phrase$, Count, 1)
Word$(Count) = Letter$
0 · ·