Post Reply 
INPUT() and complex numbers?
01-14-2015, 10:33 PM (This post was last modified: 01-14-2015 10:41 PM by Helge Gabert.)
Post: #6
RE: INPUT() and complex numbers?
Predefining the complex variable in a LOCAL statement works for me.

...
LOCAL xl:=2+2*i;
...
INPUT(xl);
<User enters a complex number>
...

OK

Edit: But complex numbers inside an array, if predefined, don't seem to work with input . I get "error: insufficient memory."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
INPUT() and complex numbers? - DrD - 01-14-2015, 01:47 PM
RE: INPUT() and complex numbers? - DrD - 01-14-2015, 04:44 PM
RE: INPUT() and complex numbers? - Snorre - 01-14-2015, 08:21 PM
RE: INPUT() and complex numbers? - DrD - 01-14-2015, 09:49 PM
RE: INPUT() and complex numbers? - Snorre - 01-14-2015, 10:27 PM
RE: INPUT() and complex numbers? - Helge Gabert - 01-14-2015 10:33 PM
RE: INPUT() and complex numbers? - DrD - 01-14-2015, 11:05 PM



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