Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set x to 0
- repeat
- try
- log "Calculating 2^" & x & ": " & (2 ^ x)
- set x to x + 1
- on error number -2702
- beep 1
- display dialog "This computer can't handle the calculation 2^" & x with icon stop buttons {"End Test"} default button 1
- exit repeat
- end try
- end repeat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement