kzboray Posted August 29 Share 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 Link to comment
larryllix Posted August 30 Share 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 Link to comment
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.