Hi, I wish to report this curious behaviour in placing (!) after numbers, but before an ELSE automaticly in this case. I think it doesn't affect anything, but is something to look at. Example:
3640 IF V0$ = "A" THEN V0 = 10 ELSE IF V0$ = "B" THEN V0 = 11
3650 IF V0$ = "C" THEN V0 = 12 ELSE IF V0$ = "D" THEN V0 = 13
3660 IF V0$ = "E" THEN V0 = 14 ELSE IF V0$ = "F" THEN V0 = 15
LIST
3640 IF V0$ = "A" THEN V0 = 10! ELSE IF V0$ = "B" THEN V0 = 11
3650 IF V0$ = "C" THEN V0 = 12! ELSE IF V0$ = "D" THEN V0 = 13
3660 IF V0$ = "E" THEN V0 = 14! ELSE IF V0$ = "F" THEN V0 = 15
Ron.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Curious indeed. It's probably something to do with the fact that the E in ELSE could have been (but isn't, here) part of a single-precision number. It shouldn't do that though, so I'll see if I can sort that out. Cheers!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I wish to report this curious behaviour in placing (!) after numbers, but before an ELSE automaticly in this case. I think it doesn't affect anything, but is something to look at. Example:
3640 IF V0$ = "A" THEN V0 = 10 ELSE IF V0$ = "B" THEN V0 = 11
3650 IF V0$ = "C" THEN V0 = 12 ELSE IF V0$ = "D" THEN V0 = 13
3660 IF V0$ = "E" THEN V0 = 14 ELSE IF V0$ = "F" THEN V0 = 15
LIST
3640 IF V0$ = "A" THEN V0 = 10! ELSE IF V0$ = "B" THEN V0 = 11
3650 IF V0$ = "C" THEN V0 = 12! ELSE IF V0$ = "D" THEN V0 = 13
3660 IF V0$ = "E" THEN V0 = 14! ELSE IF V0$ = "F" THEN V0 = 15
Ron.
Curious indeed. It's probably something to do with the fact that the
E
inELSE
could have been (but isn't, here) part of a single-precision number. It shouldn't do that though, so I'll see if I can sort that out. Cheers!