Command String Requirements
The following are requirements for a valid command string:
- 
                        
Command strings must be terminated by a period.
 - 
                        
Command type names must be separated from their arguments by a space.
 - 
                        
Command type names (
welcome,contacts, andsettings) are case insensitive. - 
                        
Arguments for
ContactsorSettingscommand types are1or2. See Table 4-1. - 
                        
Optional second argument of
1or2can be used for theSettingscommand type. See Table 4-1. 
Table 4-1 Valid Command String Type and Argument Combinations
| Command Types | Command Arguments | Optional Arguments | 
|---|---|---|
| 
                               
  | 
                           
                               none  | 
                           
                               none  | 
                        
| 
                               
  | 
                           
                               
  | 
                           
                               none  | 
                        
| 
                               
  | 
                           
                               
  | 
                           
                               
  | 
                        
To demonstrate the applet's command string functionality, the following examples are provided as string versions of the byte sequences of valid command strings:
Note:
Valid command type names used in command strings are case insensitive.
- 
                        
Welcome. - 
                        
Settings 1. - 
                        
contacts 2. - 
                        
Settings 2 2.