Taking Random Values in Corona
Rabu, 06 November 2013
0
komentar
Syntax for taking random numbers or values in corona has been given below.
Download the code and try it...
Syntax
math.random() ---> a number between 0 and 1
math.random(m) ---> an integer between 1 and n (inclusive)
math.random(m,n) ---> an integer between m and n (inclusive)
Download the code and try it...
Syntax
math.random()
math.random( m )
math.random( m, n )
math.random() ---> a number between 0 and 1
math.random(m) ---> an integer between 1 and n (inclusive)
math.random(m,n) ---> an integer between m and n (inclusive)
math.random() ---> a number between 0 and 1
math.random(20) ---> an integer between 1 and 20 (inclusive)
math.random(20, 40) ---> an integer between 20 and 40 (inclusive)
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: Taking Random Values in Corona
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://androidpopuler.blogspot.com/2013/11/taking-random-values-in-corona.html. Terima kasih sudah singgah membaca artikel ini.Ditulis oleh Unknown
Rating Blog 5 dari 5
0 komentar:
Posting Komentar