How to give variable a max value

Can this be done? [import]uid: 30185 topic_id: 7065 reply_id: 307065[/import]

If you are wanting to restrict the assignment to a max value, it can be done using the same technique described in this post on “constants”:

http://developer.anscamobile.com/forum/2010/07/10/there-way-define-constants-corona-lua [import]uid: 6175 topic_id: 7065 reply_id: 24924[/import]

Thank you! [import]uid: 30185 topic_id: 7065 reply_id: 24933[/import]