Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 No Space Error Check
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Reddread




PostPosted: 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>
Sponsor
Sponsor
Sponsor
sponsor
Raknarg




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: