Re: [fpc-pascal] Error runtime 102

2006-03-07 Thread Alain Michaud
Hi, if you have something like: procedure mygoodprocedure var oldd : text begin then I would sugest that you put "text" line above: unit myunit ... var oldd : text ... procedure mygoodprocedure var ... begin The file should be "global" , not in a procedure goog luck Alain On Tue, 2006-03-

Re: [fpc-pascal] Error runtime 102

2006-03-07 Thread Michael Van Canneyt
On Tue, 7 Mar 2006, Janie Gan wrote: Hi, I've been working on a program and each time i run it, it comes up wiht an error runtime 102. I know it might have something to do with Assign, Amend etc functions but can't figure out exactly where i went wrong. Here's an example script. Begin As

[fpc-pascal] Error runtime 102

2006-03-07 Thread Janie Gan
Hi, I've been working on a program and each time i run it, it comes up wiht an error runtime 102. I know it might have something to do with Assign, Amend etc functions but can't figure out exactly where i went wrong. Here's an example script. Begin Assign(oldd,'DDNAMEold.txt'); reset(oldd