Richard
Beginner questions. prevent unhalted exception
ok. So what's happening is this... When you press CTRL Z, you are allowing null item to be passed to your variable. Then when you try to output your variable, it is null = has no value, and hence the compiler doesn't know what to do and throws an exception.
39 replies