TIP: Click on subject to list as thread! ANSI
echo: delphi
to: MIKE JOLLS
from: MARTIN MAAT
date: 1997-06-16 22:33:00
subject: Problem with sets

Hallo Mike
 MJ> I keep getting an error that Delphi is expecting an expression in
 MJ> the SET OF line.  It says it's expecting a "type" but it finds '['.
 MJ> type
 MJ>   KeysType = set of [O..9, '*', '#' ];
Try this:
type
  KeyType  = [0..9, '*', '#'];
  KeysType = set of KeyType;
Groeten, Martin.
--- FMail/386 1.02
---------------
* Origin: -=[ E-mail: m_maat@knoware.nl .......... ]=- (2:286/420.1)

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