fork download
  1. Function Key(K, T, D)
  2. While TRUE
  3. KeyPress K, T
  4. Delay D
  5. Wend
  6. End Function
  7. Dim K1, K2, K3, T1, T2, T3
  8. K1 = "A"
  9. K2 = "B"
  10. K3 = "C"
  11. T1 = 1
  12. T2 = 2
  13. T3 = 3
  14. BeginThread Key(K1, T1, 200)
  15. BeginThread Key(K2, T2, 500)
  16. BeginThread Key(K3, T3, 3000)
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty