$BIGSTRINGS

From MCS Wiki AVR
(Difference between revisions)
Jump to: navigation, search
(Created page with "<div style="height: 755px" class="nonscroll" id="idcontent"><div id="innerdiv"> = <span class="f_Header">Action</span><br/> = Instruct the compiler to use big strings. <span...")
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
<div style="height: 755px" class="nonscroll" id="idcontent"><div id="innerdiv">
+
<div id="idcontent"><div id="innerdiv">
 
= <span class="f_Header">Action</span><br/> =
 
= <span class="f_Header">Action</span><br/> =
  
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 that has influence on 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.
  
 
&nbsp;
 
&nbsp;
  
The alternative library has modified routines for code which is not compatible with big strings.
+
The alternative library contains modified routines for code not compatible with big strings.
  
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
+
&nbsp;
  
[[File:Notice.jpg|left|Notice.jpg]]The library is not tested with all possible string operations. Report problems to support.
+
The following string routines are supported:
  
<span style="font-family: 'Arial';  color: #000000">&nbsp;</span>
+
[[ASC]],
  
<span style="font-family: 'Arial'; color: #000000">&nbsp;</span>
+
[[CHARPOS]]
 +
 
 +
[[GET]]
 +
 
 +
[[INPUT|INPUT LCD , INPUT SERIAL]]
 +
 
 +
[[INSTR]]
 +
 
 +
[[LCASE]]
 +
 
 +
[[LEFT]]
 +
 
 +
[[LEN]]
 +
 
 +
[[MID]]
 +
 
 +
[[RIGHT]]
 +
 
 +
[[PUT]]
 +
 
 +
[[UCASE]]
 +
 
 +
<span style="font-family: 'Arial'; color: #000000">&nbsp;</span>
  
 
= <span class="f_Header">See also</span><br/> =
 
= <span class="f_Header">See also</span><br/> =
Line 46: Line 68:
 
= <span class="f_Header">Example</span><br/> =
 
= <span class="f_Header">Example</span><br/> =
  
 +
<span style="font-family: 'Courier New';  font-weight: bold;  color: #000080">$BIGSTRINGS</span>
  
 +
<span style="font-family: 'Courier New';  font-weight: bold;  color: #000080"></span>
  
<span style="font-family: 'Courier New';  font-weight: bold;  color: #000080">$BIGSTRINGS</span>
+
<span style="font-family: 'Courier New';  font-weight: bold;  color: #000080"></span>
 +
 
 +
 
 +
 
 +
<span style="font-family: 'Courier New';  font-weight: bold;  color: #000080">{{Languages}}</span>
 
</div></div>
 
</div></div>
 +
[[Category:BASCOM Language Reference]]

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,

CHARPOS

GET

INPUT LCD , INPUT SERIAL

INSTR

LCASE

LEFT

LEN

MID

RIGHT

PUT

UCASE

 

See also

DIM

 

 

Example

$BIGSTRINGS


Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language