From d79dd55a18cb158778fbdc796a60f27518d1f971 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 18 Jun 2024 06:53:54 -0400 Subject: cxrefbas and renumbas: round fractional line numbers like BASIC does. --- cxrefbas.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cxrefbas.rst') diff --git a/cxrefbas.rst b/cxrefbas.rst index d80d818..7004217 100644 --- a/cxrefbas.rst +++ b/cxrefbas.rst @@ -58,6 +58,11 @@ warning on standard error, e.g. *GOTO A* or *GOSUB 100\*A*. Even *GOTO Line numbers above 32767, e.g. *TRAP 40000*, are not listed. +Atari BASIC allows fractional line numbers, such as *GOTO 123.4*. +These are rounded to the nearest integer when the program is +executed. **cxrefbas** handles these correctly, although you're +not likely to run into them in real-world programs. + OPTIONS ======= -- cgit v1.2.3