Post Reply 
HP50,49,48 Matrix Alpha Lock
06-07-2016, 07:40 PM
Post: #4
RE: HP50,49,48 Matrix Alpha Lock
(06-07-2016 12:43 PM)buffalo Wrote:  i think the alpha should lock wether its in matrix writer or not. what i find currently is that each time i press enter alpha unlocks(??)

Using the INPUT command with the proper parameters allows you prompt the user for strings without requiring the user to explicitly enter alpha mode themselves. The following piece of UserRPL code will prompt the user repeatedly for strings and then add each one to a list. Pressing ENTER without any input will break out of the loop:

Code:
%%HP: T(3)A(R)F(.);
\<<
  { }
  DO
    "Enter a word" { "" 1 \Ga } INPUT
    IF
      DUP "" \=/
    THEN
      +
      0
    ELSE
      DROP
      1
    END
  UNTIL
  END
\>>

The INPUT command enters alpha mode as a result of the third parameter in the list that precedes it.

Note: "\Ga" and "\=/" are tri-graphs for the alpha and not-equal characters, respectively. The method of entering those characters directly depends on which model calculator you are using.

Does this accomplish something similar to what you're wanting?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP50,49,48 Matrix Alpha Lock - buffalo - 06-06-2016, 06:56 AM
RE: HP50,49,48 Matrix Alpha Lock - RMollov - 06-06-2016, 03:44 PM
RE: HP50,49,48 Matrix Alpha Lock - buffalo - 06-07-2016, 12:43 PM
RE: HP50,49,48 Matrix Alpha Lock - DavidM - 06-07-2016 07:40 PM
RE: HP50,49,48 Matrix Alpha Lock - buffalo - 06-08-2016, 09:58 AM
RE: HP50,49,48 Matrix Alpha Lock - buffalo - 07-26-2016, 07:47 AM



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