Error 9998

Information and discussion about BR error codes.

Moderators: Susan Smith, admin

Mikhail
Posts: 82
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Error 9998

Postby Mikhail » Fri Jun 25, 2010 12:37 pm

Error 9998 is not listed.

Does anyone know what it means?

I get it when I try to do a REPLACE

Gabriel
Posts: 354
Joined: Sun Aug 10, 2008 7:37 am
Location: Arlington, TX
Contact:

Postby Gabriel » Fri Jun 25, 2010 12:58 pm

Any replace? Or is it just with one specific program?

Can you save the same program and not get the error?

Gabriel

Mikhail
Posts: 82
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Postby Mikhail » Fri Jun 25, 2010 1:07 pm

Only this program

John
Posts: 507
Joined: Sun Apr 26, 2009 8:27 am
Location: West Orange, NJ
Contact:

Postby John » Fri Jun 25, 2010 1:20 pm

My guess is a problem with your if/end if statements and def/fnend statements...

Is there a way to move this thread to the "Error Codes" section of the forum?

of course it could be any number of things... Are you using an external editor?

Mikhail
Posts: 82
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Postby Mikhail » Fri Jun 25, 2010 1:35 pm

Not using an external editor.

This program works, but if I try even just adding a comment, it bombs with error 9998

John
Posts: 507
Joined: Sun Apr 26, 2009 8:27 am
Location: West Orange, NJ
Contact:

Postby John » Fri Jun 25, 2010 1:40 pm

how many lines long is your program? perhaps it's at a maximum size. Might that be a feasible conclusion?

did you try saving it as source, clearing memory and reloading and replacing it? you probably already did this "wash" but if not ...

what version of BR!? Option 60 in play?

John
Posts: 507
Joined: Sun Apr 26, 2009 8:27 am
Location: West Orange, NJ
Contact:

Postby John » Fri Jun 25, 2010 2:15 pm

"32,000 is the maximum number of lines a program may contain."
(http://brwiki.ads.net/index.php?title=32%2C000)

I wonder if this is meant as clauses rather than lines... at any rate we have a library with 16277 lines... without a doubt a lot more clauses... though maybe not 32,000.

I don't imagine you're anywhere close to that. Are you?

Mikhail
Posts: 82
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Postby Mikhail » Fri Jun 25, 2010 2:35 pm

Seems to be a size issue

Mikhail
Posts: 82
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Postby Mikhail » Fri Jun 25, 2010 2:37 pm

It's a little over 8000 lines, using BR version 4.02F

Mikhail
Posts: 82
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Postby Mikhail » Fri Jun 25, 2010 2:37 pm

I'm sorry, BR4.03K

Susan Smith
Posts: 654
Joined: Sun Aug 10, 2008 4:24 am
Location: Southern California

Postby Susan Smith » Fri Jun 25, 2010 3:06 pm

Mikhail,

Just for the heck of it, try compiling it in 4.20 (without the option that saves in 4.18 format). It seems to me (could be wrong) but 9998 MIGHT be the error I was getting when one of my form statements got too big to compile. When I went to 4.20, the problem disappeared because compiled line lengths can be pretty much unlimited in 4.20.

That's just a guess though. I didn't keep a record of the error when it happened.

I have also gotten strange error codes on occasion when I have mismatched If/THEN/ELSE or for/next statements.

-- Susan

Gabriel
Posts: 354
Joined: Sun Aug 10, 2008 7:37 am
Location: Arlington, TX
Contact:

Postby Gabriel » Fri Jun 25, 2010 3:14 pm

Are you able to save the file by using the "Save" command and specifying a new file name? Is it just Replace that fails or is it all saves?

Does the file get written to the disk? Or does the error prevent the file from being written to the disk?

Some errors (such as Line Reference Not Found) are just warnings - the file is still saved but the error code is generated. Can you tell by loading the file if the file is saved or not?

Gabriel


Return to “Error Codes”

Who is online

Users browsing this forum: No registered users and 1 guest

cron