home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!cs.utexas.edu!torn!news.ccs.queensu.ca!mast.queensu.ca!dmurdoch
- From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
- Subject: Re: LENGTH and POS in TP 5.5
- Message-ID: <dmurdoch.122.0@mast.queensu.ca>
- Lines: 19
- Sender: news@knot.ccs.queensu.ca (Netnews control)
- Organization: Queen's University
- References: <7351@ds5000.DAC.Northeastern.edu>
- Date: Fri, 4 Sep 1992 13:41:33 GMT
-
- In article <7351@ds5000.DAC.Northeastern.edu> cschmidt@ds5000.DAC.Northeastern.edu (Christopher Schmidt) writes:
- >Here is a problem with the LENGTH function in TP 5.5 that cost me
- >several hours of debugging. After discovering the source of the
- >problem, I investigated the POS function as well.
- >
- >The TP 5.5 documentation says the LENGTH function returns a value
- >of type integer. Apparently, it actually returns a value of type
- >byte.
- ...
- >The TP 5.5 documentation says the POS function returns a value of
- >type byte. Apparently, it actually returns a value of type
- >integer.
-
- Both of these are also true of TP 6.0. You seem to regard these as bugs in
- the compiler or libraries, rather than errors in the documentation.
- Clearly the easiest fix would be to change the manuals so that Length and
- Pos are properly documented; what would be the problem in that?
-
- Duncan Murdoch
-