From: Harry Truax Date: 2007-08-29T21:37:17+09:00 Subject: Looking for help implementing static variables ------=_NextPart_000_000C_01C7EA17.CB3D7B60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I am working on an application where we are trying to remember previous values from an execution of a Ruby program. Basically, we have a screen where a user can type an 'X' into either a 'Yes' or a 'No' box. We do not want them to type Xs into both boxes. So if the 'Yes' box has an X in it, and then the user types an 'X' into the 'No' box, we want to clear the 'Yes' box automatically. Our Ruby program runs each time the user tabs out of a field on the screen or presses the Enter key. Apparantly, Ruby does not have static variables where I can store the box values and refer to them when the program runs again, if I could I would setup state variables where I could compare the current state to the previous state and see what has changed between executions and then take appropriate action such as clearing a 'Yes' box because currently there is an X in the 'No' box. Any help would be greatly appreciated, Thanks! Harry Truax ------=_NextPart_000_000C_01C7EA17.CB3D7B60--