78
"C" Programming Guide For Optimus S/R
Description
This routine specifies the input mode, which cannot be modified by the
ALPHA (
α
) key.
The value of the parameter
state
can be one of the following:
NUMERIC_KAYPAD (0)
Locked to numeric mode
UPPER_CASE (1)
Locked to upper case alpha mode
LOWER_CASE (2)
Locked to lower case alpha mode
FUNCTION_KEY (3)
Locked to function mode (Optimus S only)
Return
None
See Also
dis_alpha, en_alpha, get_alpha_enable_state, get_alpha_lock_state,
set_alpha_lock
set_alpha_lock
Purpose
To set the ALPHA (
α
) state for input mode.
Syntax
void set_alpha_lock (int state);
int state; /* input mode that can be modified by ALPHA key*/
Example
set_alpha_lock (1); /* upper case alpha mode, ALPHA key enabled */
Description
This routine sets the input mode, which can be modified by the ALPHA (
α
)
key. If the ALPHA key is disabled by dis_alpha() or locked by
LockAlphaState(), use en_alpha() to enable (=unlock) it.
The value of the parameter
state
can be one of the following:
0
Numeric mode, unlocked
1
Upper case alpha mode, unlocked
2
Lower case alpha mode, unlocked
3
Function mode, unlocked (Optimus S only)
Return
None
See Also
dis_alpha, en_alpha, get_alpha_enable_state, get_alpha_lock_state,
LockAlphaState
Содержание Optimus R
Страница 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Страница 6: ......
Страница 8: ...2 C Programming Guide For Optimus S R...
Страница 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Страница 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Страница 24: ...18 C Programming Guide For Optimus S R...
Страница 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...
Страница 232: ...226 C Programming Guide For Optimus S R 4 11 Implementation defined Limits limits h float h Refer to limit h and float h...
Страница 238: ...232 C Programming Guide For Optimus S R...