$BIGSTRINGS
From MCS Wiki AVR
(Difference between revisions)
Line 22: | Line 22: | ||
When a longer string is needed, the compiler can not use bytes for passing the length. A word is needed to hold the length. | When a longer string is needed, the compiler can not use bytes for passing the length. A word is needed to hold the length. | ||
− | The $BIGSTRINGS directive will include the bigstrings.lbx and will handle all string routines different when parameters are passed | + | The $BIGSTRINGS directive will include the bigstrings.lbx and will handle all string routines different when parameters are passed which influence the length. |
| | ||
− | The alternative library | + | The alternative library contains modified routines for code not compatible with big strings. |
− | + | | |
+ | |||
+ | The following string routines are supported: | ||
+ | |||
+ | [[ASC]], | ||
+ | |||
+ | [[CHARPOS]] | ||
+ | |||
+ | [[GET]] | ||
+ | |||
+ | [[INPUT|INPUT LCD , INPUT SERIAL]] | ||
+ | |||
+ | [[INSTR]] | ||
+ | |||
+ | [[LCASE]] | ||
+ | |||
+ | [[LEFT]] | ||
+ | |||
+ | [[LEN]] | ||
+ | |||
+ | [[MID]] | ||
+ | |||
+ | [[RIGHT]] | ||
− | [[ | + | [[PUT]] |
− | + | [[UCASE]] | |
− | <span style="font-family: 'Arial'; | + | <span style="font-family: 'Arial'; color: #000000"> </span> |
= <span class="f_Header">See also</span><br/> = | = <span class="f_Header">See also</span><br/> = |
Latest revision as of 20:25, 15 June 2015
Contents |
Action
Instruct the compiler to use big strings.
Syntax
$BIGSTRINGS
Remarks
By default each string has a maximum length of 254 bytes. A null character is used to mark the end of a string.
When a longer string is needed, the compiler can not use bytes for passing the length. A word is needed to hold the length.
The $BIGSTRINGS directive will include the bigstrings.lbx and will handle all string routines different when parameters are passed which influence the length.
The alternative library contains modified routines for code not compatible with big strings.
The following string routines are supported:
ASC,
See also
Example
$BIGSTRINGS
Languages | English • Deutsch |
---|