The general argument for rejecting a pattern of digits ending with a decimal point and not followed by any decimal places (e.g. "10.") is that such a pattern often indicates a typo.
The argument for accepting such a pattern, representing an integer constant, is that we've always done it that way. I don't favor a change to the representation of numeric constants, but I'd favor a change to the BASIC compiler to eliminate the implicit FMT. The implicit FMT has historically been more costly than beneficial, and still is so. The compiler would catch more typos if the absence of an operator between 2 expressions were always flagged as an error. > -----Original Message----- > From: Barry Brevik > > [...] what seems odd to me is the "." > > [...] UV accepts "10." to be the same as "10.0" or "10". > > Barry ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
