Setvirtualresolution(640,480)
ResetTimer()
For i=0 to 15
//convert the counter i to a string and concatenate with its Binary value.
CreateText(i,(str(i)+"="+Bin(i)))
SetTextSize(i,25)
//increment the text position so all values print down the screen.
SetTextPosition(i,10,10+i*25)
Sync()
Next i
Repeat
Until Timer()>20
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)
Setvirtualresolution(640,480) ResetTimer() For i=0 to 15 //convert the counter i to a string and concatenate with its Binary value. CreateText(i,(str(i)+"="+Bin(i))) SetTextSize(i,25) //increment the text position so all values print down the screen. SetTextPosition(i,10,10+i*25) Sync() Next i Repeat Until Timer()>20 End