Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!srhqla!unigold!pain.UUCP!root From: root@pain (System Administrator) Newsgroups: comp.lang.modula2 Subject: Re: FileSystem Message-ID: <6g1ws3w163w@pain> Date: 20 Nov 90 03:20:40 GMT References: <964.2746E8D2@puddle.fidonet.org> Organization: Sequoia Public Access Info Network Lines: 18 Patrick.Verkaik@p11.f39.n512.z2.fidonet.org (Patrick Verkaik) writes: > Hello, can anybody who knows anything about the FST compiler help me with > the following problem? Not sure if I qualify...but here goes: > implementation module, but, after linking without any problems, > I get an error message when I try to execute a programme, > something like: DEALLOCATE, and wrong variable type... > Also, I had some trouble assigning NIL to a pointer elsewhere in > the implementation module... I've been lucky enough to stay away from FileSystem.File till now, but I have encountered a similar problem with pointers like the one you mentioned. The bug is that for some reason, you are attempting to DEALLOCATE NIL! During debuging stages, I add, IF Ptr#NIL THEN DEALLOCATE (Ptr,SIZE(Ptr)).... That should help a little. If you don't know where its crashing, you can use the dbgMap feature to locate the problem procedure.