18 Oct
2001
18 Oct
'01
3:21 p.m.
ANURADHA Srinivasan wrote:
Is typecasting like
MyType(Myvar);
not allowed?
Yes, GPC allows this as an extension.
How do i do something like the following?
-------------------------------------
p:pointer; mytype=record ..... end;
with mytype(p^) do begin ..... end;
-------------------------------------
Since you gave neither a complete sample or an error message, I don't know what's your problem. (I'm really tired of second-guessing.) Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html