• sytax error

    From Chris Hoppman@1:129/305 to All on Saturday, September 18, 2004 11:40:29
    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.
    --- Renegade v09-09.4 DOS
    * Origin: The Titantic BBS Telnet - ttb.slyip.com (1:129/305)
  • From mark lewis@1:3634/12 to Chris Hoppman on Tuesday, September 21, 2004 17:57:50
    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.

    dunno... what version of PASCAL are you attempting to do this in?

    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.

    but in looking at it, it doesn't seem to be right...

    )\/(ark
    * Origin: (1:3634/12)
  • From Chris Hoppman@1:129/305 to Mark Lewis on Thursday, September 23, 2004 18:04:32
    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...

    )\/(ark

    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.
    --- Renegade v09-19.4 DOS
    * Origin: The Titantic BBS Telnet - ttb.slyip.com (1:129/305)
  • From Jasen Betts@3:640/1042 to Chris Hoppman on Thursday, September 23, 2004 07:26:36
    Hello Chris.

    18 Sep 04 10:40, you wrote to all:

    why would I get a sytax error on something like this.

    must be a typo.

    Jasen
    --- GoldED+/LNX 1.1.4.7
    * Origin: (3:640/1042)
  • From mark lewis@1:3634/12 to Chris Hoppman on Friday, September 24, 2004 15:41:50
    dunno... what version of PASCAL are you attempting
    to do this in?

    TP v7.0

    hummm... i just tried it in TP6 exactly as you posted it and it worked properly...

    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.

    what i thought i saw was a figment of my imagination...

    I know: fbstat := [];
    With the above example compiles correctly, but even with
    fbstat := [fbcdrom];
    finks out on me.

    its working fine in TP6...

    [time passes]

    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 the message and pasting it into the editor and trying it again...

    )\/(ark
    * Origin: (1:3634/12)
  • From Chris Hoppman@1:129/305 to Mark Lewis on Sunday, September 26, 2004 01:49:02
    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...

    okay, well.. what I gave you was an example of how I was using it.

    Shrug.. I'll just let it be for now. It might just be something I'll see later.

    thanks for your help
    --- Renegade v09-19.4 DOS
    * Origin: The Titantic BBS Telnet - ttb.slyip.com (1:129/305)
  • From Scott Adams@1:112/91 to Chris Hoppman on Thursday, October 07, 2004 20:05:56
    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.

    Which pascal version? borland..turbo...visual?
    I have a guess but need more info...
    Quote the code again above so I'll know what we are
    talking about :)


    ... Re: Babylon 5 Taglines 2/2
    --- Fringe BBS
    * Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91)