why would I get a sytax error on something like this.
program exaple;
type
fbflags=
(fbnoratio,
fbunhidden,
fbdirdlpath,
fbshowname,
fbusegifspecs,
fbcdrom,
fbshowdate,
fbnodupecheck);
var
fbstat : set of fbflags;
begin
fbstat := fbstat+[fbcdrom];
end.
I am just stump'd in my other programs it doesn't give
a sytax error and I haven't changed any of the compiler
switch's.
dunno... what version of PASCAL are you attempting to do this in?
but in looking at it, it doesn't seem to be right...
)\/(ark
why would I get a sytax error on something like this.
dunno... what version of PASCAL are you attempting
to do this in?
TP v7.0
but in looking at it, it doesn't seem to be right...
Please, let me know if you see anything out of the
ordinary with it.
I know: fbstat := [];
With the above example compiles correctly, but even with
fbstat := [fbcdrom];
finks out on me.
it works just fine in BP7, too... i dunno what to say... did you copy and paste it into your original message? if not, you might try copying it from message and pasting it into the editor and trying it again...
Quoting Chris Hoppman to All <=-
why would I get a sytax error on something like this.
program exaple;
type
fbflags=
(fbnoratio,
fbunhidden,
fbdirdlpath,
fbshowname,
fbusegifspecs,
fbcdrom,
fbshowdate,
fbnodupecheck);
var
fbstat : set of fbflags;
begin
fbstat := fbstat+[fbcdrom];
end.
I am just stump'd in my other programs it doesn't give a sytax error
and I haven't changed any of the compiler switch's.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,033 |
Nodes: | 15 (0 / 15) |
Uptime: | 125:23:53 |
Calls: | 529 |
Calls today: | 23 |
Files: | 95,154 |
D/L today: |
4,513 files (659M bytes) |
Messages: | 298,904 |
Posted today: | 12 |