Thanks for your reply again... But I think, I must give it up. If I try the SHELL "SET NUMBER=" + num$ there is no memory error. But if I look on the DOS prompt with the command SET there is no variable NUMBER. I do not get it. :( If I start up with DOS and type SET NUMBER=3 And I type SET...
gives nothing. I am already glad that you try to help me! but.... the first code works! PRINT "Enter a 4 digit number" num$ = INPUT$(4) PRINT num$ But you can not see the key who I pressed (realtime)? Is that correct? (I can see it with the PRINT COMMAND but it is less beautyfull) And :-( ...
Mhh, I think it's the good way but it works not yet. The followed error does I have: With sample 1: By running the code There is a error bij "INPUT$" Expected: statement (Sample 1 does not compile) But by sample 2: I can read the params from DOS but there is no setting from QB45 into this ...
Hello, I have a Qbasic problem and I hope you can help me. I would write a Qbasic program who ask me a 4 digit code e.g. 1234 (and not A...z or 123) And then use the "4 digit code" and SET it in the DOS variable NUMBER In the DOS prompt I can type the followed code SET NUMBER=1234 And if I...