Computer Science Canada How do i make a string variable more than 2 words? |
Author: | Mr.White [ Tue Mar 29, 2011 3:42 pm ] | ||
Post subject: | How do i make a string variable more than 2 words? | ||
What is it you are trying to achieve? I want to make a variable that the user can enter two words and i counts as i variable. Is that possible What is the problem you are having? It only saves 1 word per variable Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using <Answer Here> |
Author: | Mr.White [ Tue Mar 29, 2011 3:43 pm ] |
Post subject: | RE:How do i make a string variable more than 2 words? |
sorry, i forgot to put im using turing 4.1.1 |
Author: | Raknarg [ Tue Mar 29, 2011 4:18 pm ] |
Post subject: | RE:How do i make a string variable more than 2 words? |
just use : get animal : * that gets everything put down until the user presses enter. |
Author: | SNIPERDUDE [ Tue Mar 29, 2011 11:54 pm ] |
Post subject: | Re: RE:How do i make a string variable more than 2 words? |
Mr.White @ March 29th 2011, 3:43 pm wrote: sorry, i forgot to put im using turing 4.1.1
And because you will likely ask later, there's a problem with 4.1.1 in that programs won't properly compile (make executables). Will give you a bad header error when trying to run them. 4.1 has all the same features, so there's no real difference other than that when downgrading. |