Post Reply 
Error passing parameters
02-24-2020, 11:17 PM
Post: #1
Error passing parameters
Hi all,
Hereby I want to report an oddity with passing on parameters. View the following program main: EXPORT TEST(a,b,c). This will not cause an error if you press "Cntrl.". View this head now:EXPORT TEST(size,row,col). This does result in an error message. Is this normal behavior for the HP Prime? And what can you do about this, if that is already possible? I look forward to an answer from one of you. Sincerely, Karel.

I use HP-16C, WP-34S emulator, HP-35s, HP-48GX, HP-50g, and HP Prime G2.
Find all posts by this user
Quote this message in a reply
02-25-2020, 12:10 AM
Post: #2
RE: Error passing parameters
You can't use variable names that are command names, or otherwise reserved by the system. Pretty sure that's the issue here. "row" and "col" are CAS commands, "SIZE" is a Home command, can't recall if "size" would be allowed or not.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-25-2020, 07:13 AM
Post: #3
RE: Error passing parameters
hello,

size is a buid in function and is therefore not allowed...
remember that most UPPERCASE functions inherited from older calcualtors are now working both in upercase and lowercase (and mixed case as a mater of fact).

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)