Error 9998

Information and discussion about BR error codes.

Moderators: Susan Smith, admin

Post Reply
Mikhail
Posts: 87
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Error 9998

Post by Mikhail »

Error 9998 is not listed.

Does anyone know what it means?

I get it when I try to do a REPLACE
Gabriel
Posts: 412
Joined: Sun Aug 10, 2008 7:37 am
Location: Arlington, TX
Contact:

Post by Gabriel »

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

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

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

Post by Mikhail »

Only this program
John
Posts: 555
Joined: Sun Apr 26, 2009 8:27 am

Post by John »

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: 87
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Post by Mikhail »

Not using an external editor.

This program works, but if I try even just adding a comment, it bombs with error 9998
John
Posts: 555
Joined: Sun Apr 26, 2009 8:27 am

Post by John »

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: 555
Joined: Sun Apr 26, 2009 8:27 am

Post by John »

"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: 87
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Post by Mikhail »

Seems to be a size issue
Mikhail
Posts: 87
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Post by Mikhail »

It's a little over 8000 lines, using BR version 4.02F
Mikhail
Posts: 87
Joined: Tue Jul 07, 2009 10:26 am
Location: Ukraine

Post by Mikhail »

I'm sorry, BR4.03K
Susan Smith
Posts: 717
Joined: Sun Aug 10, 2008 4:24 am
Location: Southern California

Post by Susan Smith »

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: 412
Joined: Sun Aug 10, 2008 7:37 am
Location: Arlington, TX
Contact:

Post by Gabriel »

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
Post Reply