LOOKUPSTR/de
(Difference between revisions)
m (1 revision) |
(→(**COPIED FROM ENGLISH PAGE**) =) |
||
Line 1: | Line 1: | ||
− | + | = <span class="f_Header">Funktion</span> = | |
− | + | Gibt einen String aus einer Tabelle zurück. | |
<span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> |
Revision as of 23:42, 4 March 2013
Contents |
Funktion
Gibt einen String aus einer Tabelle zurück.
Syntax
var = LOOKUPSTR( value, label )
Remarks
Var |
The string returned |
Value |
A value with the index of the table. The index is zero-based. That is, 0 will return the first element of the table. |
Label |
The label where the data starts |
The index value can have a maximum value of 255.
See also
Example
$regfile = "m48def.dat" ' specify the used micro $crystal = 4000000 ' used crystal frequency $baud = 19200 ' use baud rate $hwstack = 32 ' default use 32 for the hardware stack $swstack = 10 ' default use 10 for the SW stack $framesize = 40 ' default use 40 for the frame space Dim S As String * 8 , Idx As Byte Idx = 0 : S = Lookupstr(idx , Sdata) Print S 'will print 'This' End Sdata: Data "This" , "is" , "a test"
Languages | English • Deutsch |
---|