Menu

Automated unneeded single-precision symbols (!) after variable

2015-12-19
2015-12-19
  • Ronald Herrera

    Ronald Herrera - 2015-12-19

    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.

     
    • Rob Hagemans

      Rob Hagemans - 2015-12-19

      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!

       
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.