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

On Tue, 01 Nov 2016 07:33:38 -0700, GEO 
wrote:

> 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.
>HEADER (A$),I9U,D0,U8
>
>Works fine.
>
>TIA.


I solved this by putting everything into one variable:

A$="Disk-NAME": B$=",I":C$="7U"
A$=A$+B$+C$
HEADER (A$),D0,U8

--- 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™.