Ron: I'm very sorry I lost the ability to duplicate this. I was doing some data fixups in our office with an .xbs file (with a Main func and one other function at the bottom), then made a change to the Main code and out of the blue it threw an error "compiling" the function at the bottom-- a func that has literally been untouched for 10 years.
It was essentially a Syntax error on a line that was fine and 50 lines away from the line that had changed. At the time I reduced it to where all I had to do to break it was add a *single character to a comment*, and it had its error down at the bottom! I went back and forth more than 20 times; adding either more comment text OR adding a char to real code (ANYWHERE in the Main func), threw the error. At that point I asked Luis to check if there were any known limitations to xbs files. I had to get that task done, so I deleted a lot of comments and finished. It never occurred to me that I wouldn't be able to re-create the problem, so I didn't save the file at that time. I've gone back several times and tried to reconstruct it by adding similar comments and putting the code back as best as I can remember, and now I cannot make it break even with a much larger file. Oh well. We're starting to use more xbs files for inhouse data conversions and repairs. If we see it again I'll definitely save everything off immediately. One question: To what degree does xbscript *compile* vs. *interpret* the code? Is it possible the problem is DATA-DEPENDENT? Since the script entered various sections only if data criteria were met, it may be that it wasn't touching some code at all when I tried to re-create it. Thanks, -- Brian Hays Abacus Data Systems, Inc. > -----Original Message----- > From: Ron Pinkas [mailto:ron.pin...@xharbour.com] > Sent: Monday, March 15, 2010 7:30 AM > To: Luis Krause Mantilla; Xharbour-Developers > Subject: Re: [xHarbour-developers] xbscript file size limit? > > Not that I'm aware of. Kindly forward a script which fails to work > along > with exact error information. > > -------------------------------------------------- > From: "Luis Krause Mantilla" <lkrau...@shaw.ca> > Sent: Sunday, March 14, 2010 9:29 PM > To: "Xharbour-Developers" <xharbour-developers@lists.sourceforge.net> > Subject: [xHarbour-developers] xbscript file size limit? > > > Hi: > > > > Is there a char count / no. of lines / file size of the .prg that > > xbscript.exe can run? > > > > We created a script to fixup a dbf and as we required more > > code to complete the code it started to blow up. Removing > > lines and comments not needed anymore (i.e. commented out > > code) the script worked again. > > > > Regards, > > > > -- > > Luis Krause Mantilla > > lkrausem at shaw dot ca > > luis_krause at hotmail dot com > > "May the Source be with GNU" > > > > > > > > --------------------------------------------------------------------- > --------- > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > xHarbour-developers mailing list > > xHarbour-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > > > > ----------------------------------------------------------------------- > ------- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > xHarbour-developers mailing list > xHarbour-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.436 / Virus Database: 271.1.1/2741 - Release Date: > 03/14/10 07:33:00 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers