Local variables - C Style
|
11-08-2015, 05:29 PM
Post: #7
|
|||
|
|||
RE: Local variables - C Style
(11-08-2015 02:52 PM)C.Ret Wrote: Using the STO command on local variable looks strange to me. 1+ It makes reasoning about a program easier if you know that something is a value and not a variable. I tend to use local variables to remove values from the stack that are used later but are currently in the way. Usually this avoids complicated stack operations. What's wrong with: Code: « + DUP SQ OVER + * » Cheers Thomas |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Local variables - C Style - alen12345 - 11-07-2015, 09:08 AM
RE: Local variables - C Style - Han - 11-07-2015, 12:28 PM
RE: Local variables - C Style - alen12345 - 11-07-2015, 12:48 PM
RE: Local variables - C Style - peacecalc - 11-07-2015, 01:41 PM
RE: Local variables - C Style - Gerson W. Barbosa - 11-07-2015, 02:06 PM
RE: Local variables - C Style - C.Ret - 11-08-2015, 02:52 PM
RE: Local variables - C Style - Thomas Klemm - 11-08-2015 05:29 PM
RE: Local variables - C Style - peacecalc - 11-08-2015, 07:28 PM
|
User(s) browsing this thread: 1 Guest(s)