home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!hiyall.enet.dec.com!reagan
- From: reagan@hiyall.enet.dec.com (John R. Reagan)
- Subject: Re: Standard pascal question...
- Message-ID: <1992Jul27.133035.2499@nntpd.lkg.dec.com>
- Sender: usenet@nntpd.lkg.dec.com (USENET News System)
- Organization: Digital Equipment Corporation
- References: <3763@blue.cis.pitt.edu.UUCP>
- Date: Mon, 27 Jul 1992 14:28:02 GMT
- Lines: 21
-
-
- In article <3763@blue.cis.pitt.edu.UUCP>, bjorh1+@pitt.edu (Reidar Bjorhovde) writes...
- >Hi. I am writing a program in standard pascal and I need to use a
- >function like the 'copy' function in Turbo Pascal, where a substring is
- >returned from a string.
- >
- >Is there a function in Standard Pascal that can do this?
- >
- You didn't say which standard you are concerned with?
-
- For the 1983 unextended Pascal (aka "classic" Pascal), no there is not a
- builtin routine that does what you want. For the 1989 Extended Pascal
- standard, see the SUBSTR ("substring") predeclared routine.
-
- ---
- John Reagan
- Digital Equipment Corporation
- reagan@hiyall.enet.dec.com
- Disclaimer: The opinions and statements expressed by me are not
- necessarily those of Digital Equipment Corporation.
- ---
-