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 Professional Discussion / Getting the value from a print statement?

Author
Message
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 28th Jun 2011 19:29
Hi all

Now I want to know if I can get the value from a print statement? As a command in Dark PhysX Get system will show a value when using a print command but when you use the same command to put the value into a variable or if statement you get nothing except 0.

anyone have any ideas.

Dark Physics makes any hot drink go cold.
Vitamin
15
Years of Service
User Offline
Joined: 15th Oct 2010
Location:
Posted: 28th Jun 2011 19:45
Hey brah,
Use the input command.
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 28th Jun 2011 19:55
opps it does work, the bit between the chair and keyboard forgot that what they were checking for did'nt start at 1 but 6.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2026-07-10 17:19:45
Your offset time is: 2026-07-10 17:19:45