Teriander
04-08-2008, 02:00 AM
Im sure this is a easy problem for you guys to solve, but how do I convert text from a edittext box into an integer to be read as numbers?
For example, here is my code:
-----------------------
edittext txtNthFrame "Every Nth Frame:" FieldWidth:30 pos:[10, 120]
rendNThFrame = txtNthFrame
-----------------------
The error message Im getting is that the rendNthFrame is not a integer, even when I enter a number into the edittext box. What variable am I missing or can use to convert the edittext box to read as a integer and not text??
Thanks!
For example, here is my code:
-----------------------
edittext txtNthFrame "Every Nth Frame:" FieldWidth:30 pos:[10, 120]
rendNThFrame = txtNthFrame
-----------------------
The error message Im getting is that the rendNthFrame is not a integer, even when I enter a number into the edittext box. What variable am I missing or can use to convert the edittext box to read as a integer and not text??
Thanks!
