what is a string?
|
12-13-2013, 02:33 PM
Post: #9
|
|||
|
|||
RE: what is a string?
(12-13-2013 08:27 AM)Alberto Candel Wrote: Han, Cyrille, thank you, this is very useful. It's hard to pinpoint the cause of your error since we don't have the source code. But to answer your question -- yes, a string may be used as the input but it depends on how you input the string. For example: Code:
If you run this program from the command line with: PSTR("hello world") then the program runs without any problems. However, if you run this using the "Run" menu option from the Program Catalog, then you will see an input screen in which you are asked to input the value of s. The problem is that this method of running the program automatically initializes the local variable s to a real-valued variable with a default value of 0, and expects a real-valued input. Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
what is a string? - Alberto Candel - 12-11-2013, 06:26 PM
RE: what is a string? - Han - 12-11-2013, 06:46 PM
RE: what is a string? - Alberto Candel - 12-11-2013, 07:11 PM
RE: what is a string? - Han - 12-11-2013, 07:29 PM
RE: what is a string? - cyrille de brébisson - 12-12-2013, 03:41 PM
RE: what is a string? - Alberto Candel - 12-11-2013, 10:02 PM
RE: what is a string? - Han - 12-12-2013, 02:51 PM
RE: what is a string? - Alberto Candel - 12-13-2013, 08:27 AM
RE: what is a string? - Han - 12-13-2013 02:33 PM
|
User(s) browsing this thread: 1 Guest(s)