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

Username:   Password: 
 RegisterRegister   
 String Var and Spaces.
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Namis




PostPosted: Fri Sep 26, 2003 11:54 pm   Post subject: String Var and Spaces.

when using put var's ( strings ) that contain spaces in the answer, it seems to screw my program up, is there anyway to allow spaces in answers?
Sponsor
Sponsor
Sponsor
sponsor
Blade




PostPosted: Sat Sep 27, 2003 12:39 am   Post subject: (No subject)

yeah... use the :*

code:
var sentence:string(70)
put "enter a sentence"
get sentence:*
cls
put sentence
Namis




PostPosted: Sat Sep 27, 2003 12:57 am   Post subject: (No subject)

right on, thanks Surprised
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  [ 3 Posts ]
Jump to:   


Style:  
Search: