SeeView Manual
SeeView Language Elements
HP NonStop SeeView Manual—526355-004
5-21
Field Attribute Productions
The script in Example 5-9 is smaller and simpler than the script in Example 5-8 but 
provides greater functionality. Generally, modeless scripts are less complex than modal 
scripts, but offer more functionality.
Field Attribute Productions
The WINDOW statement FIELDS option defines windows or dialogue boxes with 
multiple input-output fields. Lines of text in cache containing left and right square 
brackets delimit the location of input-output fields when a window with the FIELDS 
option displays this text. A field attribute production (a double colon :: symbol) 
appended to the end of a cache line defines the field attributes of the fields in that line 
of cache.
Example 5-10 shows a program that defines a window with multiple input-output fields.
Figure 5-6. Modeless Prompt From the Program in Example 5-9
Example 5-10. Example of Field Attribute Production Usage (page 1 of 2)
?MENU Person                     
{-----------}                     
 First [    ] Last [     ] :: (alpha) (alpha)         
 Address [          ]            
 City [    ] State[ ] Zip[   ] :: (a) (a) (n notab)        
 *
?PROC PutPerson ( #first, #last, #addr, #city, #st, #zip )   
{--------------------------------------------------------}     
 PARM #first, #last, #addr, #city, #st, #zip;           
 WINDOW person            { Display person cache      
  CACHE FIRST UNTIL "*" SIZE 43 { First line until "*",     
 MENU "CALL GetInput" { with GetInput production 
   KEYS F5,F6,F7      { keys invoking production     
  FIELDS (underline);    { format with fields option.  
 DISPLAY #first,#last,#addr,#city,#st,#zip; { Display data in fields.    










