When there's a limit for the length of a line then this may be the limit. Other than that I am not aware of any limit, although it wouldn't be surprising if there's some kind of max, within the range of reason.
you may try this:
you may try this:
wr=writefile("test.bb") l$="dummy=test(" ma=10000 ;test 10 thousand arguments... for i=0 to ma l$=l$+rand(10)+"," next l$=l$+rand(10)+")" writeline wr,l$ writeline wr,"waitkey()" writeline wr,"end" l$=" function test(" for i=0 to ma l$=l$+"x"+i+"," next l$=l$+"x"+(ma+1)+")" writeline wr,l$ writeline wr,"End Function" closefile wr