TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: JAMES GOLDBLOOM
from: TIM HUTZLER
date: 1996-07-01 20:01:00
subject: Re: arrays in TYPE state

TH> I don't pretend to be an expert on this, but I don't think that
  > is possible. A TYPE is a template, thus all string fields must be
  > fixed length. And, as you probably know an array can be made
  > dynamic when it is dimentioned.
JG> I know what you're saying. But a template variable can be defined
  > by a previously defined variable and not just a fixed value. For
  > example:
 JG> -------------------------------------------
 JG> $if %test
 JG> maxvalue  200
 JG> $else
 JG> maxvalues=500
 JG> $endif
 JG> a$(1 to maxvalues) as string * 20
 JG> -------------------------------------------
The above is not what I was refering to, perhaps I have misunderstood
your question. I was refering to strings *within* a user variable
declared with the TYPE statement.
 
___ Blue Wave/QWK v2.12
--- Maximus/2 3.01
---------------
* Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88)

SOURCE: echomail via exec-pc

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