Local variables - C Style
|
11-08-2015, 02:52 PM
(This post was last modified: 11-08-2015 03:37 PM by C.Ret.)
Post: #6
|
|||
|
|||
RE: Local variables - C Style
Hi
(11-07-2015 02:06 PM)Gerson W. Barbosa Wrote: [...] Using the STO command on local variable looks strange to me. In RPL a more natural way of doing this is to use an embedded structure, such as : Code: 2 3 ; Dati @ Data are generally out of the program Of course, a much more way of doing it in RPL is samething like : Code:
... but , you may object that this RPL-style way use and abuse stack movements, making it difficult to trace. That the main reason of local varaible, making the code more readible or self explainable. Such as: Code: « → height radius « ∏ →NUM radius SQ * height * "Vol_Cylin" →TAG » » |
|||
« 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)