home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!csus.edu!borland.com!chard
- From: chard@borland.com (Richard Nelson)
- Subject: Re: BP7 -- five more bugs
- Message-ID: <1993Jan7.223044.5463@borland.com>
- Summary: Directives vs. reserved words
- Originator: chard@genghis.borland.com
- Sender: news@borland.com (News Admin)
- Organization: Borland International
- References: <1993Jan7.153055.3119@odin.diku.dk> <1993Jan7.163036.20607@ericsson.se>
- Date: Thu, 7 Jan 1993 22:30:44 GMT
- Lines: 25
-
- >>2. Syntax highlighting fails for "forward".
- >>------------------------------------------
- >>
- >>"Forward" is highlighted as a reserved identifier. It isn't.
- >> ...
- >
- >Is this true? I thought forward *was* a reserved identifier for declaring
- >forward procedures or do you mean that BP7 allows you to call an identifier
- >"forward" when it should be a reserved word?
-
- Starting with version 6.0 of Turbo Pascal, certain identifiers that
- used to be reserved words are now directives, which can be redefined
- by your programs. Since they have pre-defined meanings, the syntax
- highlighting recognizes and highlights them.
-
- Basically, all the procedural directives (such as near, far, absolute,
- forward, virtual, interrupt, assembler) get highlighted.
-
- The distinctions are explained on pages 16-17 of the Borland Pascal
- Language Guide.
- --
- =========================================================================
- Richard Nelson, Borland Int'l | chard@borland.com | Go Bears! Grrr-rah!
- Had this been Borland's opinion, I would have written it in a manual.
- "...there's no hurry, I'm just sittin' here doing time." - John Lennon
-