Computer Science Canada

No Space Error Check

Author:  Reddread [ Tue Apr 05, 2011 8:23 am ]
Post subject:  No Space Error Check

What is it you are trying to achieve?
<How do I make sure that a message that the user enters has o spaces in it using error check?>

What is the problem you are having?
<Error check for spaces>


Describe what you have tried to solve this problem
<Don't Know>


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<put "Please enter a message to be encrypted. No spaces please."
get message>

Turing:


<Add your code here>



Please specify what version of Turing you are using
<Answer Here>

Author:  Raknarg [ Tue Apr 05, 2011 9:24 am ]
Post subject:  RE:No Space Error Check

if index (word, " ") not= 0 then
there's a space
end if


: