"GEO" wrote in message
news:nm9h1cl5g0f66qdjofd23tps7rsvivtm6k@4ax.com...
> I am trying to use the header command with a variable and it won't
> work with the DISK ID as a variable.
>
> A$="Disk-NAME"
> B$="9U"
> HEADER (A$),I(B$),D0,U8
>
> Gives a syntax error.
I(B$) is interpreted as an array variable. BASIC does not allow array
indices to be strings. You would get the same syntax error wherever you
tried to do this.
- Anton Treuenfels
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|