elementis
09-09-2008, 09:15 AM
Ok well I am going to have to admit Im a complete novice at PBASIC, though am not a novice to programming in general.
I just started messing with this language yesterday and am stuck with one thing.
I want to use the DEBUGIN command to get a random string inputted by the user.
Once the input is gotten I want this program to be able to loop through every character in the string, and then to perform the appropriate subroutine depending on the each letter iteration that is passed through the loop.
From my understanding the PBASIC language does not have any built in string handling functions, so that is why im stuck.
How can I get the PBASIC language to take a inputted string and break it down into an array of characters that I can loop through? and how exactly would I loop through each character of that given string?
I just started messing with this language yesterday and am stuck with one thing.
I want to use the DEBUGIN command to get a random string inputted by the user.
Once the input is gotten I want this program to be able to loop through every character in the string, and then to perform the appropriate subroutine depending on the each letter iteration that is passed through the loop.
From my understanding the PBASIC language does not have any built in string handling functions, so that is why im stuck.
How can I get the PBASIC language to take a inputted string and break it down into an array of characters that I can loop through? and how exactly would I loop through each character of that given string?