NQ41 RPN Calculator
|
04-25-2018, 12:49 AM
(This post was last modified: 04-25-2018 01:18 AM by Craig Bladow.)
Post: #18
|
|||
|
|||
RE: NQ41 RPN Calculator
(03-08-2018 07:52 PM)Craig Bladow Wrote:(03-02-2018 04:28 PM)Egan Ford Wrote: 3. support stdin, e.g. echo "3 4 +" | NQ-41, returns 7, no interactive prompt I've solved this by implementing 'VIEW' which will output the referenced register to stdout. This is particularly elegant as VIEW can be used to view any memory, stack register as well as used with indirection. Implementing input from 'stdin' means that an interactive session needs to be started by: "nq41 -i" stdin can work as follows at least in Linux and probably OS X: nq41 < file.txt nqr1 <<< '1 2 + view x' Try CC41! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)