Can someone axplain why this not work:
Repeat
CLS
Mx=MouseX(): My=MouseY(): Mc=MouseClick()
If Mx>130 and My>130 and Mx<330 and My<160
If Mc=1
PayLoan2 = PayLoan
active_2=0
active=1
Endif
Endif
If Mx>400 and My>130 and Mx<600 and My<160
If Mc=1
TakeLoan2 = TakeLoan
active=0
active_2=1
Endif
Endif
if active = 1
set cursor 130, 130
Input TakeLoan;
Else
set cursor 130, 130
Print "";TakeLoan2;"";
Endif
if active_2 = 1
set cursor 400, 130
Input PayLoan;
Else
set cursor 400, 130
Print "";PayLoan2;"";
Endif
until close=2
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"