Post Reply 
Little explorations with HP calculators (no Prime)
03-10-2018, 11:36 AM
Post: #263
RE: Little explorations with HP calculators (no Prime)
Thanks for the (sad) info about John H. Meyers . I read it at the time but I did not reply.


Another question. While I am porting little procedures that I find interesting in one userRPL directory, see this thread, I realized that I would like to integrate an "help" when the user provide no arguments or not enough of them (the type/size/dimension checking comes later, if at all).

This is what I do when I make bash/shell/scripts that interact from the keyboard. I check the number of arguments, if those are not enough, I throw an error message that is the usage of the command.

On the 50g if one provides no argument one gets the standard error "too few arguments". Is it possible to catch this error?

I did not try but the first thing that I thought is to make an IFERR around the entire program such as the following example


\<< IFERR 
  "explain the usage"

anyway has anyone already experienced this situation? What was the solution?

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Little explorations with HP calculators (no Prime) - pier4r - 03-10-2018 11:36 AM

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