Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
random number
#9
This is what i came up with if anyone has a better way of doing it please post it.

Code:
Copy      Help
int cnt
str lines=
;line0
;line1
;line2
;line3
;line4
;line5
:;;etc
;line95
;line96
;line97
;line98
;line99
;line100

ARRAY(str) arr=lines
;top
rep
,if arr.len=0;break
,cnt=Uniform(0 arr.len)
,out arr[cnt];err goto top
,arr.remove(cnt);err goto top


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)