Post Reply 
Input works
03-23-2015, 03:15 PM (This post was last modified: 03-23-2015 03:17 PM by Martin Hepperle.)
Post: #11
INPUT function adds erroneous double quotes to clear-string arguments
Summary: The optional clear-string argument to the INPUT function does not work properly for string variables.

While testing the various options of the INPUT function I found ... another bug.

This "feature" of the INPUT command is related to input fields declared to receive variables of type string.
The user can enter a string without double quotes into these fields, which makes sense and is expected.
On return from the INPUT function call the variable contains the desired string as entered (without any extra quotes).

However, if a clear-string is supplied (either directly as a string in the call to the INPUT function or via a string variable), the clear (back-arrow) action fills the edit field with the clear-string, but erroneously encloses it in double quotes.
When the INPUT dialog is then terminated with OK, the resulting string contains these quotes.

Fix: the clear action or INPUT function parameters of type string should insert the string _without_ quotes.

Martin
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Input works - Giancarlo - 12-06-2014, 08:21 PM
RE: Input works - Giancarlo - 12-06-2014, 08:25 PM
RE: Input works - gabrieljcs - 12-06-2014, 09:04 PM
RE: Input works - Han - 12-06-2014, 09:29 PM
RE: Input works - toml_12953 - 12-06-2014, 09:33 PM
RE: Input works - gabrieljcs - 12-06-2014, 09:41 PM
RE: Input works - rprosperi - 03-20-2015, 12:33 PM
RE: Input works - Martin Hepperle - 03-20-2015, 01:30 PM
RE: Input works - rprosperi - 03-20-2015, 03:19 PM
INPUT function adds erroneous double quotes to clear-string arguments - Martin Hepperle - 03-23-2015 03:15 PM
RE: Input works - Tim Wessman - 03-24-2015, 06:37 PM
RE: Input works - Tim Wessman - 02-06-2018, 06:08 PM
RE: Input works - Giancarlo - 02-06-2018, 10:20 PM
RE: Input works - deniel - 02-07-2018, 03:31 AM
RE: Input works - Randall - 02-08-2018, 10:09 PM



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