Post Reply 
Can INPUT input what is typed
09-14-2015, 06:37 PM
Post: #3
RE: Can INPUT input what is typed
(09-14-2015 05:46 PM)eried Wrote:  Have you tried to limit the input to Strings only?

I'd tried print(string(in... Gives a pair of brackets within an extra pair of quotes.

But if the user types the quotes himself:
"()" then deletes a )
The program sees:
""(""

At last there is a single bracket - now The problem is the extra pair of quotes.

Also, I don't really want the user to have to type in the quotes - switching between in and out of Alpha should be enough. And for simple searches like WAIT without any brackets, the quotes are not necessary.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can INPUT input what is typed - eried - 09-14-2015, 05:46 PM
RE: Can INPUT input what is typed - StephenG1CMZ - 09-14-2015 06:37 PM
RE: Can INPUT input what is typed - eried - 09-14-2015, 06:45 PM



User(s) browsing this thread: 1 Guest(s)