randy@m2xenix.UUCP (Randy Bush) (12/18/89)
In article <"89-12-11-21:03:38.02*UK4H"@DKAUNI2.BITNET> you write: >Instead you have to write > ALLOCATE(x,SIZE(x^)); > DEALLOCATE(x,SIZE(x^)); As x^ does not exist when the parameter is evaluated, maybe it would be better to say VAR x : POINTER TO xType; ... ALLOCATE ( x, xType ) -- ..!uunet!m2xenix!randy randy@m2xenix.uucp (Randy Bush)
rsutc@fornax.UUCP (Rick Sutcliffe) (12/22/89)
In article <460@m2xenix.UUCP>, randy@m2xenix.UUCP (Randy Bush) writes: > > As x^ does not exist when the parameter is evaluated, maybe it would be > better to say > > VAR x : POINTER TO xType; > ... > ALLOCATE ( x, xType ) I think he means ALLOCATE (x, SIZE(xType) ) Rick Sutcliffe
randy@m2xenix.UUCP (Randy Bush) (12/24/89)
>In article <460@m2xenix.UUCP>, randy@m2xenix.UUCP (Randy Bush) writes: >> As x^ does not exist when the parameter is evaluated, maybe it would be >> better to say >> >> VAR x : POINTER TO xType; >> ... >> ALLOCATE ( x, xType ) >I think he means ALLOCATE (x, SIZE(xType) ) I did so mean, realized it as I walked away from the tube, and went back and issued a Cancel. So much for being at a well-connected site :-) Happy holidaze! -- ..!uunet!m2xenix!randy randy@m2xenix.uucp (Randy Bush)