home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!rpi!ghost.dsi.unimi.it!insa-lyon.fr!univ-lyon1.fr!pc110-02.insa-lyon.fr!ppollet
- From: ppollet@cismibm.univ-lyon1.fr (Patrick POLLET)
- Newsgroups: comp.lang.pascal
- Subject: Re: STRING AND INTEGER CONVERSION (Mac AND PC) - HELP
- Date: Tue, 26 Jan 1993 08:25:59 GMT
- Organization: INSA CENTRE INFORMATIQUE DU 1er CYCLE
- Lines: 37
- Message-ID: <ppollet.177.728036759@cismibm.univ-lyon1.fr>
- References: <1993Jan25.202522.15666@massey.ac.nz>
- NNTP-Posting-Host: pc110-02.insa-lyon.fr
-
- In article <1993Jan25.202522.15666@massey.ac.nz> RPatel@massey.ac.nz (R. Patel) writes:
- >From: RPatel@massey.ac.nz (R. Patel)
- >Subject: STRING AND INTEGER CONVERSION (Mac AND PC) - HELP
- >Date: 25 Jan 93 20:25:22 GMT
-
-
- >G'day,
-
- >I tried posting this before and it never showed up so please bear with
- >me if it did appear.
-
- >Anyway I've got a Pascal prog. on the Mac which uses the SANE library
- >functions int2str and str2int (ie converts a string to integer and vice
- >versa).
-
- >I'm trying to get the program running on the PC under TPascal but I
- >don't know what library to use and which functions to call that have the
- >same operations (ie converting strings and integers etc).
-
- [ .....]
-
- int2str should be changed to str()
- str2int should be changed to val()
- Caution: The parameters are differents and Str() and val() are PROCEDURES
- whereas int2str() and str2int() are functions (I think It has been years
- since I used Think Pascal) RTFM. please
- ppollet@cismibm.univ-lyon1.fr (Patrick POLLET)
- --------------------------------------------------------
- Dr Patrick L.Pollet
- Institut National des Sciences Appliquees
- Centre Informatique du 1er Cycle Bat 110
- 20 Avenue A.Einstein
- 69621 Villeurbanne Cedex France
- --------------------------------------------------------
- Phone: 72 43 83 80 - la premiere erreur c'est
- Fax : 72 43 85 33 - de se lever le matin ... GASTON
- -------------------------------------------------------
-