Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Borland > Re: C to Pascal
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 1040 of 1118
Post > Topic >>

Re: C to Pascal

by Wolf Behrenhoff <NoSpamPleaseButThisIsValid3@[EMAIL PROTECTED] > Jul 6, 2007 at 02:07 PM

prino schrieb:
> What's this
> 
> char *rec;
> 
> in Pascal?
> 
> Am I right to assume that it's
> 
> var rec: ^char?

Yes,
var rec: PChar;

PChar is defined as "type PChar = ^Char"

> And what's the translation of the following function header:
> 
> char *assocmem(int memttr) {...}

function assocmem(memttr: Integer): PChar;

Wolf
 




 3 Posts in Topic:
C to Pascal
prino <prino@[EMAIL PR  2007-07-06 04:14:33 
Re: C to Pascal
Wolf Behrenhoff <NoSpa  2007-07-06 14:07:50 
Re: C to Pascal
prino <prino@[EMAIL PR  2007-07-08 11:08:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 23 15:55:05 CDT 2008.