I am new to DB and still learing the ropes in regards to basic commands.
Multiple Conditions
My questions are....
1. Is the repeat command the best to use in this situation?
2. If so what is the correct syntax for entering multiple
conditions? If not, could you please provide an example, or
point me to a tutorial if you don't have the time yourself.
repeat
repeat
cls
print "Enter your 1st number: ";
input A
if A= 0 then print "Numbers 1-45 only"
sleep 1000
until A> 0
if A> 45 then print "Numbers 1-45 only"
sleep 1000
until A< 46
print "Your numbers so far are: ";A
sleep 1500
Using Arrays
My questions......
1. What is the best way to have the user enter data into my
program and have that data stored directly into an array?
The example below gives the idea of what I would like it to
do, but it doesn't work.
2. Is it possible to have the conditions in an array increment
themselves automatically?
rem..Question 1
cls
dim GetInfo(5)
GetInfo(1)=A
print "Type a number: ";
Input A
print GetInfo(1)
rem...Question 2
dim GetInfo(1000,6)
GetInfo(1,1)=1
GetInfo(1,2)=2
rem...GetInfo(1,3) etc creates itself as required.
Multiple Display Pages
Last Question for now.....
1. In the example below the output produced goes over one page.
How do I give the user the option to view the second page?
cls
for t=1 to 1000
print "Show me page 2...etc"
next t