(49G/50g) Shortest code to increment a variable?
|
04-20-2023, 08:45 PM
Post: #5
|
|||
|
|||
RE: (49G/50g) Shortest code to increment a variable?
Note also that STO+
can be used with a variable that contains a list. Suppose you have done {1 2 3} 'A' STO. Then try 20 'A' STO+ and press A to see the new list A {20 1 2 3}, with the number added as the first element of the list A. Try now with "test" 'A' STO+ and press A to see the new list A {"test" 20 1 2 3}. Instead of a string, you could have a variable name such as 'B': Try 'B' 'A' STO+ and press A to see the new list A {B "test" 20 1 2 3}. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(49G/50g) Shortest code to increment a variable? - acser - 04-20-2023, 11:50 AM
RE: (49G/50g) Shortest code to increment a variable? - Marco Polo - 04-20-2023, 12:21 PM
RE: (49G/50g) Shortest code to increment a variable? - John Keith - 04-20-2023, 12:38 PM
RE: (49G/50g) Shortest code to increment a variable? - acser - 04-20-2023, 07:11 PM
RE: (49G/50g) Shortest code to increment a variable? - Gil - 04-20-2023 08:45 PM
|
User(s) browsing this thread: 2 Guest(s)