Table of Contents

Advertisement

MID*
Purpose
<J> number characters from the <I>th character of the
<X$>.
Form
MID$(<X$>,<!> [,<J>])
Description
(1)
<I> must be within the range of 1-255.
If the <I>
is longer than the <X$> length, the null string is
returned as the result.
(2)
<J> must be within the range of 0-255.
If the <J>
is omitted, the <I>th through the last character is
assumed.
Example
>100 OPEN "R",#1,"RND.DAT"
>120 DIM AW$(32)
>130 »
>140 GET01
>150 J=1
>160 FOR 1=1 TO 128 STEP 4
>170 AW$(J)=MID$(A*,I,4)
>180 J=J+1
>190 NEXT
This process divides
the large field data and
stores the data in the
array.
3-95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents