Moin!
Ich habe folgendes Programmierproblem und komme ohne Hilfe nicht weiter.
In meiner Hauptprogrammschleife ist eine lookup Funktion:
do
For P = 0 To 7
dimmer = Lookup(p , tab)
Waitms y
Next
loop
y kann in diesem Programm bis zu 10000 sein.
In der Zeit steht das ganze Programm still
Wie kann ich das verhindern?
soetwas geht jedenfalls nicht:
do
incr x
For P = 0 To 7
dimmer = Lookup(p , tab)
Waitms y
if x = 10000 then
x= 0
Next
end if
loop
Das kann eigentlich nur ne Bascom Kleinigkeit sein, die ich (noch) nicht kenne
Ich habe folgendes Programmierproblem und komme ohne Hilfe nicht weiter.
In meiner Hauptprogrammschleife ist eine lookup Funktion:
do
For P = 0 To 7
dimmer = Lookup(p , tab)
Waitms y
Next
loop
y kann in diesem Programm bis zu 10000 sein.
In der Zeit steht das ganze Programm still
Wie kann ich das verhindern?
soetwas geht jedenfalls nicht:
do
incr x
For P = 0 To 7
dimmer = Lookup(p , tab)
Waitms y
if x = 10000 then
x= 0
Next
end if
loop
Das kann eigentlich nur ne Bascom Kleinigkeit sein, die ich (noch) nicht kenne