Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Genscrn error -- syntax error line #1798

Status
Not open for further replies.

Scott24x7

Programmer
Jul 12, 2001
2,828
JP
All,
I've been working on a project for several weeks. I made a number of changes to screens, (basically, just changed a logo image on about 15 screens). When I went to re-build the project (and it doesn't matter if I'm compiling to .APP, .EXE, or just a project rebuild), I get the following error (which displays in a small window):

Window Title: GENSCRN ERROR
Message: Syntax Error
Genscrn Line Number: 1798
Press any key to clean up...

That's all the indication I get. Any idea what causes this? How can I fix it?

Thanks,
-Scott
 
Without knowing what the command in line number 1798 of the SPR file, there is nothing we can do to help you. Please post a few lines of code around that line number for us to look at. David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
Dave,
The error isn't in the .SPR, it occurs in the GENSCRN code that is running, which creates the .SPR, hence, why I am so baffeled as well. I've looked at line 1798 of GENSCRN.PRG, and it is simply an IIF that decides if a border is On or Off. Could this be a memory issue?
-Scott
 
Suggestion: Could it be that somewhere in the project a drive or folder name is hard-coded? We had a similar problem with a project that corrupted the .scx files whenever we tried to recompile it in a drive/folder other than where it was originally coded.

Try reverting your drive and folder names to the originals, and see if that helps. See my other response under "error in genscrn"
 
Scott,
Is it possible that the last time you rebuilt a screen was on a slower machine? If you are using GENSCRNX, have you updated this program? - it needs a couple fixes for 'faster' CPUs. You can get this updated source on my local User Group web site. Go to and get GENSCRNX.ZIP [35 KB] in the Files section.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top