Forums: Forum of Decimal BASIC (Thread #40354)

Program Crashes in Decimal BASIC (2019-01-24 20:29 by toml_12953 #82477)

I would expect the following program to end with a division by 0 error but instead it crashes totally and I have to exit Decimal BASIC v 7.8.5.2

LET X = 10
DO
PRINT 1/SIN(X)^2 - 1/X^2
LET X = X - .000001
LOOP
END

Reply to #82477×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Program Crashes in Decimal BASIC (2019-01-26 14:01 by SHIRAISHI Kazuo #82502)

I got a divided by zero error and 10000001 numerals.
Help About dialog shows the version of Riched32.DLL.
RICHED32.DLL 10.0.17.134.1
RICHED20.DLL 5.31.23.1231
Reply to #82477

Reply to #82502×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: Program Crashes in Decimal BASIC (2019-01-29 01:12 by toml_12953 #82513)

Reply To Message #82502
> I got a divided by zero error and 10000001 numerals.
> Help About dialog shows the version of Riched32.DLL.
> RICHED32.DLL 10.0.17.134.1
> RICHED20.DLL 5.31.23.1231

Thanks for your reply.

I ran it five times before posting here and it crashed every time.
After your post I tried it again and it works now, every time!

I don't know what the difference is but if it happens again, I'll note what other programs are running at the time
to see if there's some pattern.

Reply to #82502

Reply to #82513×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login