Section 10: Programming with ALPHA Strings153
  1. Key in the ALPHA string as a line in the program.
  2. Recall the result to be labeled into the display with ARCL . ARCL adds to whatever is already in the ALPHA register.
  3. Then use AVIEW in the program to place contents of the ALPHA register into the display.
Note: Care must be used in labeling data in programs because information requiring more space than is available in the display will be scrolled off the display to the left.
Example: The following is a modification of CLOG (from above) that labels the output from the program. Begin by clearing CLOG from program memory and create a new version of the program.
Keystrokes Display    
XEQ 
  XEQ _ _    
   
ALPHA CLP ALPHA 
  CLP _    
   
ALPHA CLOG ALPHA 
  0.0000    
  Clears CLOG from program memory.
PRGM 
       
   
g GTO · · 
  00 REG 37    
   
g LBL 
       
   
ALPHA LOG g 1 ALPHA 
  01 LBLTLOG1    
  The new program name.
ALPHA NUMBER? ALPHA 
  02TNUMBER?    
  The prompt for input.
XEQ 
       
   
ALPHA PROMPT ALPHA 
  03 PROMPT    
  Displays the prompt and stops for the data input.
LOG 
  04 LOG    
  The common logarithm.
ALPHA LOG= 
  05TLOG= _    
  The data label.
g ARCL · X 
  06 ARCL X    
  This recalls the result from the X-register and places it into the ALPHA register along with its current contents, LOG= .
g AVIEW 
  07 AVIEW    
  This displays the contents of the ALPHA register (which is now LOG= and the logarithm result).
g GTO · · 
  00 REG 33