What is the biggest number of code lines someone could download in a
BasicX and how much time it takes to read them all??(I have about
600 lines and i notice that the compiler is very slow)
How many lines can a basicX compile?
I've used the BX-24/BX-35 processors for over four years now and
the largest program I've written uses 4,205 lines and compiles in 1 min
The program uses 30,889 bytes of FLASH and 266 bytes RAM.
Hope this helps!
--- In , "naimead" <naimead@y...> wrote:
> What is the biggest number of code lines someone could download
> in a BasicX and how much time it takes to read them all??
> (I have about 600 lines and i notice that the compiler is very slow)
There is no rule of thumb by which one can predict how many bytes of
object code will be produced when compiling a certain number of lines
of BasicX code. There are many factors that govern the size of
the .bxb file including the data types used, the control structures
used, the general structrue of the program (all in one routine vs. a
more modular approach) and whether or not block data items are being
Perhaps the best way to get a handle on this is for you to note how
the size of the generated file changes as you add code to your
program. This may give you a feel as to how the code you are writing
is being transformed.
NetMedia's product information says that the maximum program size is
about 8,000 lines of code but I have no idea how they arrived at that
As for the compiler speed, again there are many factors that affect
this including the speed of your computer, the speed of the storage
medium on which the source code is stored as well as the structure of
the program. It may be that the compiler is slower than it otherwise
might be because it is written in Visual Basic.