home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!mp.cs.niu.edu!uxa.ecn.bgu.edu!psuvax1!psuvm!f0o
- Organization: Penn State University
- Date: Mon, 23 Nov 1992 16:42:14 EST
- From: <F0O@psuvm.psu.edu>
- Message-ID: <92328.164214F0O@psuvm.psu.edu>
- Newsgroups: comp.lang.pascal
- Subject: Typecasting a Pchar variable
- Lines: 10
-
- Hi everyone!
-
- I'm using TPW 1.0 and I have a PChar variable which represents an integer
- number. I'd like to convert the PChar string to it's integer representation.
- Now, TPW has the Val() procedure, but this means I'd have to convert the
- PChar string into a Pascal style string before using Val(). Is there a
- way to typecast my PChar string into an integer without having to convert
- it to a Pascal style string first?
-
- [Tim]
-