kzboray Posted August 29 Posted August 29 1.) Is there a random number generator function in eISY that can be used in programming? 2.) Is there a way to define a variable within a range? Example sudo code If time of day = evening Then iRand = Generate a random Number between 15000 & 20000 Quote
larryllix Posted August 30 Posted August 30 Use the ISY function TestRandom - [ID 0102][Parent 0001] If $sTest.modulus_XX is not 0 Then $sTest.result_XX = $sTest.modulus_XX Wait 2 seconds $sTest.result_XX = Random 200 Else - No Actions - (To add one, press 'Action') 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.