In this script, we see how a while loop works. We have the variable VALUE, initialized to 1. The loop iterates while VALUE is less than (-lt) 1000. Each time through the loop, VALUE is doubled. The script ends by outputing the final number stored in VALUE.