arg() crashes the emulator
|
02-25-2015, 04:25 PM
Post: #21
|
|||
|
|||
RE: arg() crashes the emulator
Good You Pointed that out! Totally my fault I was mislead by the exact. Problem solved. Thanks
|
|||
02-25-2015, 07:01 PM
Post: #22
|
|||
|
|||
RE: arg() crashes the emulator
(02-25-2015 02:54 PM)Han Wrote: Based on what I can observe, both return and RETURN are used to return a value; however, RETURN will also exit the current function/procedure whereas return does not. As for return 0 vs. return(0), I believe this is the same. Now I understand because a program of mine didn't work: with return it didn't exit... Thank you, Han. I'll amend it with uppercase. ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
02-25-2015, 07:22 PM
Post: #23
|
|||
|
|||
RE: arg() crashes the emulator
(02-25-2015 02:54 PM)Han Wrote: Also: Code:
end with 10 but Code:
So, return (lowercase) pass a value to the rest of the program, isn't it? ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)