TIP: Click on subject to list as thread! ANSI
echo: cbm
to: GEO
from: ANTON TREUENFELS
date: 2016-11-02 17:16:00
subject: Re: C=128 Basic 7.0 HEADE

"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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.