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 / Problem with DarkBasic professional

Author
Message
matti3
13
Years of Service
User Offline
Joined: 15th Nov 2012
Location:
Posted: 15th Nov 2012 17:07
Can someone axplain why this not work:




I try do my game "bank" and there try pay back and can take loan, but when i write something. Anythink come. If i take that ; away from "input PayLoan;" and "input TakeLoan;" then i can write but not change textbox.

Project "factory"
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 15th Nov 2012 18:00
input command stops the loop. and waiting for your INPUT untull you press ENTER.

but then you can use entry$(1) command instead..

payloan = Entry$(1)

by the way. make sure that "payload" is string..

global Payload as String //(on top of the code)

Advanced Updater for your games!
matti3
13
Years of Service
User Offline
Joined: 15th Nov 2012
Location:
Posted: 15th Nov 2012 19:10
So can you cive some code? I new with basic so i don't undestand 100% what you mean? How i can do that works like that than is two write area and i wanna watch witch is active and write only that.

Project "factory"
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 17th Nov 2012 18:34 Edited at: 17th Nov 2012 18:35
this is the WRONG way (your way)


This is the way it supposed to be..


Advanced Updater for your games!

Login to post a reply

Server time is: 2026-07-10 12:34:44
Your offset time is: 2026-07-10 12:34:44