Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I put checkfields in my INFORM menus?

inform menus
0
Posted

How do I put checkfields in my INFORM menus?

0

From: Matt Willis You can’t normally do this directly in User RPL. You can do it in System RPL (see Jim Donnelly’s book for details), or you can use the library at http://www.hpcalc.org/hp48/programming/misc/infm2v1.zip I figured that the System RPL version of DoInputForm was unpleasant enough to use on a casual basis so I wrote a simple library that lets you use check boxes and choose lists from User RPL. All it does is stop execution of INFORM just before DoInputForm, then search the stack and change object types to check and choose objects. Then it restarts the INFORM command. At the end, it tidies up TRUE/FALSE to 1/0 etc… Example syntax: “Test” { “A” “B” “C” } 1 {} { :CHECK: 1 :CHOOSE: { 1 2 3 } NOVAL } IF INFORM2 THEN …insert code here…

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123