[DGD]add:object(), del_object()
Gregory D Lewis
glewis at maths.adelaide.edu.au
Fri Dec 1 01:10:43 CET 2000
Lord Lerkista wrote:
>
> Is any simpler form to do that??
>
> dgd/sys/global.c
>
> void add_object(){
> if(PRIVILEGED()){
> if(objects==0){objects=([]);}
> if(objetos==0){objetos=([]);}
> objects[creator_file(previous_object())]++;
> objetos[previous_object()]++;}}
Please learn to indent your code. The DGD editor does this automatically
with the I command if I remember correctly. I just looked at what you
had and went "argh!", and I'm sure other list readers will do the same.
Your chances of getting help are much better if the code is legible :).
--
Greg Lewis Applied Maths Department
Email : glewis at maths.adelaide.edu.au University of Adelaide
--
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list