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,020 |
Nodes: | 17 (0 / 17) |
Uptime: | 27:45:05 |
Calls: | 503,133 |
Calls today: | 12 |
Files: | 228,121 |
D/L today: |
14,308 files (2,483M bytes) |
Messages: | 440,069 |