[fpc-pascal]pointers under linux

adeli@adeli.fr Ldrevon at adeli.fr
Mon Mar 18 11:15:14 CET 2002


Date sent:      	Mon, 18 Mar 2002 08:07:24 +0100
From:           	Shifted Soul <snsii at yahoo.fr>
To:             	fpc-pascal at deadlock.et.tudelft.nl
Subject:        	Re: [fpc-pascal]pointers under linux
Send reply to:  	fpc-pascal at deadlock.et.tudelft.nl

> >DON't use $H+
> Why ??
> 

because it crash !


no currently H+ is for Longstring !
it's very strange if you do 

new(t2);
t2^.s:='Hello2'#0;
t1^.n:=t2;
writeln('N=',ofs(t1^.n));
it works !




> 
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Lionel Drevon			ldrevon at adeli.fr
Adeli				http://www.adeli.fr
618 Av. Gal de Gaulle		Tel 04 78 66 11 85
69760 Limonest			Fax 04 78 66 04 33




More information about the fpc-pascal mailing list