Author |
Message
Pages: 1
|
Molotov Member (send private message) Posts: 49 Topics: 21 Location: Behind Keyboard | [1002] Random numbers - posted: 2012-01-13 18:53:02 How do i make random numbers in Zir/Asm? "Lerning new things is what life is all about, if you are always doing the same old things day in and day out you might aswell just kill yourself." - ME d^_^b |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1003] - posted: 2012-01-16 18:38:54 a sample of generating random integers Code:
untested, but it should work, you could adapt it to have random range and so on. Hope this helps. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1200] - posted: 2012-05-22 15:47:26 wrote another random function thought i'd post it Code:
i wrote a test function to generate readable strings too: Code:
example: Code:
output: let me know if this is helpful to anyone Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 7 user(s) online. 0 member(s) and 7 guest(s) Most users ever online was 1046, January 28, 2022, 2:08 pm. Statistics: Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51 Welcome to our newest member, yecate |