Fóruns: Forum of Decimal BASIC (Thread #42772)

Error in Compiled Program (2020-08-11 12:22 by toml12953 #85540)

I'm trying to run the program below in ParactBASIC. It works fine in Decimal BASIC.
In ParactBASIC I get this error:

Access violation
EAccess violation
Reporting EXTYPE is disabled.
To enable reporting EXTYPE, switch
Option - Compatibility - Debug - Reporting EXTYPE

The only two choices I have are

Report EXTYPE on terminated with an error
Disabled (Faster)
Enabled (Standard)

Neither choice works. Here's the program:

10 ! test disk I/O
15 ! and screen print
20 ! CLEAR 5000
30 LET S$=TIME$
40 LET A$="testing"
50 DIM T$(0 TO 500)
55 ! time disk write
60 OPEN #1: NAME "DATA.TXT"
62 ERASE #1
65 ! use "DATA.TXT" with MS DOS
70 FOR K=l TO 500
80 PRINT#1: A$
85 ! use WRITE#1 for MS DOS
90 NEXT K
100 CLOSE #1
110 LET R$=TIME$
115 ! time disk read
120 OPEN #1: NAME "DATA.TXT",ACCESS INPUT
125 ! use "DATA.TXT" with MS DOS
130 FOR K=l TO 500
140 INPUT#1: T$(K)
150 NEXT K
160 CLOSE #1
170 LET X$=TIME$
175 !time screen print
180 FOR K=l TO 500
190 PRINT T$(K)
200 NEXT K
210 LET Y$=TIME$
220 PRINT S$, R$, X$, Y$
230 END

Responder a #85540×

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: Error in Compiled Program (2020-08-12 08:21 by SHIRAISHI Kazuo #85545)

Thanks for the report.
I found the fault on the source code.



Responder a #85540

Responder a #85545×

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: Error in Compiled Program (2020-08-12 17:32 by toml12953 #85547)

Reply To Message #85545
> Thanks for the report.
> I found the fault on the source code.
>
>
>
Thank you for fixing it so quickly!
Responder a #85545

Responder a #85547×

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