>I stated in a previuos email (that was met with several suggestions), that I recently purchased a legacy application. One thing that I am finding out is that in many places, the program will give an error message and basically crash out. This is a two part question.
>
>First, the error box that I get is titled E-Trap 2000. It gives a date (sort of 2.2004.511) then an error message (in this case program termsdescrip.prg does not exist), then what looks like the last select executed (this part doesn't look like it is part of what is causing the error), then an error number, file, and line number. Is this part of foxpro, or did someone program this into the application as part of an error trapping routine?
To me, it looks like part of error trapping. In case it is, search for ON ERROR.
>Actually one more question, how do I display line numbers in the editor?
First, you can give the command to go to a certain line number: "Edit | Go to Line".
Second, line numbers should display in the status bar. If they don't, right-click in the editor, select "Properties", and activate "Show line/column position".
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)