Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Runtime error 643???

Author
Message
Dr Manette
20
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 2nd Jul 2006 01:10
When running this code:
I get runtime error 643 Severe Exception! Why is this and how can I fix it?

Bio Fox...four guys, one computer, games like nobody's business.
SimSmall
21
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 2nd Jul 2006 04:04
Error, does not compute: User attempting to employ Dark Basic Professional input procedure. Current version is Dark Basic Classic. Please consult uber community located at http://forum.thegamecreators.com for previous input procedure.

Basically, enough trying to sound the NOLF 2 supercomputer, I've noticed this in your code:
read string 1,str$(gold)

where you have put str$(gold), I think you mean to write:
read string 1,gold$. Converting back into a number you have done correctly with val(gold$).

It seems slightly OTT for the mistake I noticed to cause a severe exception, but they are caused by all crazy things, and I don't see anything else wrong with what you've typed.
Dr Manette
20
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 3rd Jul 2006 04:58
Thanks, I didn't even think of that!

Bio Fox...four guys, one computer, games like nobody's business.

Login to post a reply

Server time is: 2026-07-06 18:37:03
Your offset time is: 2026-07-06 18:37:03