05-23-2008, 01:44 AM
I have a question wondering why outputting a randint( value is outside of the range i specified. Here is my program:
Repeat 1
randInt(1,13) --> X
Output(3,3,X
End
The first time you hit enter, the value with be between 1 and 13. Anytime after that, there is a good chance it will be between 1 and 93. I have noticed that after the command behaves strangely, the second digit is always between 1 and 3, so it seems like number is flipped backwards somehow. Why does this happen, and how can i work around it?
Also another question, using OmniCalc, how do you use the restoremem( function. I can find it in the menu and paste it as real(32, but i don't know what to put in as the next argument. Thanks
Repeat 1
randInt(1,13) --> X
Output(3,3,X
End
The first time you hit enter, the value with be between 1 and 13. Anytime after that, there is a good chance it will be between 1 and 93. I have noticed that after the command behaves strangely, the second digit is always between 1 and 3, so it seems like number is flipped backwards somehow. Why does this happen, and how can i work around it?
Also another question, using OmniCalc, how do you use the restoremem( function. I can find it in the menu and paste it as real(32, but i don't know what to put in as the next argument. Thanks
