Re: Turbo Compiler issue
Posted: Thu Mar 06, 2025 9:42 pm
Most likely this has nothing to do with it, I see an imbalance of IF/THEN/ELSE/END IFs in there, although it's a shortened listing so the extra END IF may be there, just not shown.
As tofro said, the likeliest thing is a close mismatch of names used as parameters and as other variables elsewhere.
Also sometimes when these sorts of structure-dependent things happened, sometimes it pays to restart the system and reload the program, in case of something happening to the nametable. Had this sort of thing happen to me before - I sometimes fail to resolve it satisfactorily and end up just writing it a little differently to work around the problem.
As tofro said, the likeliest thing is a close mismatch of names used as parameters and as other variables elsewhere.
Also sometimes when these sorts of structure-dependent things happened, sometimes it pays to restart the system and reload the program, in case of something happening to the nametable. Had this sort of thing happen to me before - I sometimes fail to resolve it satisfactorily and end up just writing it a little differently to work around the problem.