Help me with HP50g -DOSUBS !
|
03-21-2014, 12:05 PM
(This post was last modified: 03-21-2014 12:05 PM by Dalil.)
Post: #2
|
|||
|
|||
RE: Help me with HP50g -DOSUBS !
Hello,
Code: { A B C D E } @ list of element on which the command will be applied What happens is: the command requires 2 arguments (number1 - number2), so for each iteration, the DOSUBS push 2 items onto the stack. What happens at the stack level is, step by step is: Code: 1st iteration before operation: |1st iteration after operation: at this point all items in the list have been used, the resulting list is constructed and output, i.e. the output is Code: {'A-B' 'B-C' 'C-D' 'D-E'} Code: Example 2: Something similar to the previous example happens at the stack level. Code: Example 3: Entering: |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Help me with HP50g -DOSUBS ! - carlovan - 03-21-2014, 09:21 AM
RE: Help me with HP50g -DOSUBS ! - Dalil - 03-21-2014 12:05 PM
RE: Help me with HP50g -DOSUBS ! - carlovan - 03-21-2014, 05:21 PM
RE: Help me with HP50g -DOSUBS ! - Gerson W. Barbosa - 03-21-2014, 06:32 PM
RE: Help me with HP50g -DOSUBS ! - carlovan - 03-23-2014, 10:19 AM
|
User(s) browsing this thread: 1 Guest(s)