Page 1 of 1

BR Limit (2**15/2)-1 = 16,383 Line #'s

Posted: Sun Oct 15, 2023 12:45 pm
by GomezL
As we know, everything has limits. In BR, a program has Line #'s, and they are limited to 16,383 lines.

You can add many lines of code to 1 line In the following example I am using only 1 line:

Code: Select all

10 A=1 !:
	B=2 !:
	C=3
It seems that BR doesn't gracefully complain about an error at compile time, instead the function/library linkages "Go crazy!"

You can move functions to a separate library to get around the line # limitation.

Re: BR Limit (2**15/2)-1 = 16,383 Line #'s

Posted: Fri Nov 03, 2023 2:05 pm
by mikemiller
That's interesting. The fact that they're apparently stored in a signed 16-bit integer sort of implies that there can be negative line numbers.

Re: BR Limit (2**15/2)-1 = 16,383 Line #'s

Posted: Mon Mar 04, 2024 10:27 pm
by GomezL
The limit is the total number of line numbers specified, not the actual line numbers.

Actual Line #'s may be between 00001 to 99999.