BasicX 2.10 Compiler Bug?

Started by mdrapal2000 in BasicX16 years ago 7 replies

Seems that there was a bug introduced in the later version of the 2.10 compiler on the NetMedia site. Specifically, for those who...

Seems that there was a bug introduced in the later version of the 2.10 compiler on the NetMedia site. Specifically, for those who try to use a Ram Sandwich and enable *both* extended RAM and I/o, the compiler will complain that there is more than 528 bytes of memory used to hold


Enum value compiler bug?

Started by Don Kinzer in BasicX16 years ago 1 reply

One thing that I noticed with enum types, which think is a compiler bug, is that if you use an enumeration value in two or more ...

One thing that I noticed with enum types, which think is a compiler bug, is that if you use an enumeration value in two or more enumerations, no compiler error is generated unless you refer to the duplicated enum value. Consider the following example. Enum Colo


windows 7

Started by Robert L in BasicX10 years ago 1 reply

Will Basicx compiler run on Windows 7?? ------------------------------------

Will Basicx compiler run on Windows 7?? ------------------------------------


BX-24 Ram usage

Started by Paul J. Smith in BasicX14 years ago 2 replies

Hello, I've been having some issues with my code hanging. Even though the compiler says I've used around 280 bytes of ram, I tried a...

Hello, I've been having some issues with my code hanging. Even though the compiler says I've used around 280 bytes of ram, I tried a utility called ramalyzer which states I could be using up to 434. Could it be that I've run out of RAM? Is this the type of issue that can be expected when this happens? Thanks.


Bitwise operation

Started by patratacus in BasicX11 years ago 2 replies

Hello, I was having a hard time finding the documentation for bitwise operations on BasicX. In a C compiler for other mcu, I could...

Hello, I was having a hard time finding the documentation for bitwise operations on BasicX. In a C compiler for other mcu, I could use operands like > > to do bit shifting. Is there something like that in BasicX? Thanks, Patrick ------------------------------------


Communication problem

Started by Georges in BasicX15 years ago 5 replies

I have experience with the Baisicx 24. But now, I am trying a brand nex BX-24 with the 2.1 Compiler. I get the right "Hello...

I have experience with the Baisicx 24. But now, I am trying a brand nex BX-24 with the 2.1 Compiler. I get the right "Hello Message" but It is imposible to donwload a new program or stop the Basicx ! I try the rescue function many times without result.


RAMsandwich

Started by jay_n_vt in BasicX15 years ago 18 replies

I may be the only one still using the BX01.. but I have board that has two serial ports, and 32 I/O's (using 74hc589's based on Edwin Cini's ...

I may be the only one still using the BX01.. but I have board that has two serial ports, and 32 I/O's (using 74hc589's based on Edwin Cini's design) with CD74HC4050's as I/O shifter/buffers using the SPI interface. I also included a 40 pin socket to be able to use the RAMsandwich from BASICX. Reading the forum.. I found that v2.1 of the compiler doesn't set BIT 3


Compiler Bug

Started by Don Kinzer in BasicX16 years ago 22 replies

One of these generates a compile error while the other is OK. Dim i as Integer i = -3 + 5 i = 5 + -3 Both should...

One of these generates a compile error while the other is OK. Dim i as Integer i = -3 + 5 i = 5 + -3 Both should compile error free.


ValueS()

Started by Anonymous in BasicX16 years ago 5 replies

Hello, My basicX reference material says that I can turn a string into a single using the "ValueS" type conversion, however...

Hello, My basicX reference material says that I can turn a string into a single using the "ValueS" type conversion, however I can't find it in context anywhere and the compiler complains when I try to use it. Does this function exist -- or do I have


compatibility

Started by Sam in BasicX15 years ago 3 replies

Will the BX-24 work with a mac? I am running OSX and will get a serial adapter. Also I can't seem to find very man programming...

Will the BX-24 work with a mac? I am running OSX and will get a serial adapter. Also I can't seem to find very man programming sites for it. Will it work with VB and does it have an AVR chip in it and can I use the avr-gcc compiler? Thanks in advance.


Compiler Enhancement Request

Started by Don Kinzer in BasicX16 years ago 3 replies

I have used the ByteVectorData on several occasions. One thing that I have found lacking is the ability to have lines containing...

I have used the ByteVectorData on several occasions. One thing that I have found lacking is the ability to have lines containing only comments in the associated data file. It would seem to be a simple enhancement to allow Basic style comments on any line. For the purpose of colle


How many lines can a basicX compile?

Started by naimead in BasicX15 years ago 2 replies

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...

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)


Hexadecimal digit expected

Started by Don Kirby in BasicX14 years ago 3 replies

Can someone shed some light on what this compiler error means? The line of code is as follows: Call PutQueueStr(OutputBuffer, "Hobbs Total -...

Can someone shed some light on what this compiler error means? The line of code is as follows: Call PutQueueStr(OutputBuffer, "Hobbs Total - "&HobbsDisplay&" Hours"&Text) HobbsDisplay is a bounded string Text is a carriage return and line feed Any ideas? -Don


basicX and linux

Started by Ryan Autet in BasicX7 years ago 19 replies

ok As you know this group keeps saying oooh yes the BasicX Downloader and compiler will run on linux under wine.. well thats all fine and...

ok As you know this group keeps saying oooh yes the BasicX Downloader and compiler will run on linux under wine.. well thats all fine and dandy but it wont open and download ports!! or monitor ports !! I first i thought it was my usb to serial converter so i got a nother one with the same results . Any one have any answers on how to fix this Or is all my spare basic X micro controllers n...


Re: Problem Resolved, Was: More Info on GetTime problem BX24

Started by Frank Manning in BasicX16 years ago 3 replies

From: Paul Dubinsky <> > [...] You really can be led astray by the ram usage > number at the bottom of the compiler dialogue....

From: Paul Dubinsky <> > [...] You really can be led astray by the ram usage > number at the bottom of the compiler dialogue. [...] Yes, good point. It's easy to misunderstand what that number means. If I remember, we tried to get rid of that output in one


Bounded Strings

Started by psyclopedia in BasicX14 years ago

On page 17 of the language reference, the syntax for bounded strings is Dim B As BoundedString_N , where N is the maximum length. The compiler...

On page 17 of the language reference, the syntax for bounded strings is Dim B As BoundedString_N , where N is the maximum length. The compiler complains about that though. Dim B As New BoundedString_N works fine however. Is this just a mistake in the docs, or am I missing something. -Don


downloading program to basicX through USB

Started by naimead in BasicX15 years ago 6 replies

Hi again, I noticed that my laptop doesn't support any serial ports,so i bought an adaptor from usb-to-serial so i can connect it with...

Hi again, I noticed that my laptop doesn't support any serial ports,so i bought an adaptor from usb-to-serial so i can connect it with my basicX programmer.But i also noticed that the compiler supports only serial port and not usb!! Any solutions please? thank you


documentation or compiler error?

Started by Don Kinzer in BasicX16 years ago 8 replies

On page 9 of "Basic Express Language Reference" v2.1, it says: "When you call a procedure, the Call keyword is optional. If Call...

On page 9 of "Basic Express Language Reference" v2.1, it says: "When you call a procedure, the Call keyword is optional. If Call is omitted, the parentheses around the actual parameters (if any) must also be omitted." I have found this to be only p


Windows 7 64-bit issues installing

Started by Dragonfly in BasicX8 years ago

I have not been able to install the compiler on Windows 7 64-bit. The installer program window appears but does not draw anything other than the...

I have not been able to install the compiler on Windows 7 64-bit. The installer program window appears but does not draw anything other than the title bar. It behaves this way in XP compatibility mode, in 256 color mode, and even when run as full Admin. Likely, it is just a video driver compatibility issue. Are the installed files available "loose", outside of the setup.exe packaging? Thank ...


Compiler Error or Feature? (Division By Zero)

Started by Austin Harkins in BasicX14 years ago 1 reply

I was coding while eating lunch just now and mistakenly typed in the following line of code. Debug.Print Cstr(Minute Mod...

I was coding while eating lunch just now and mistakenly typed in the following line of code. Debug.Print Cstr(Minute Mod SamplePeriod);":";Cstr(Second / 0.0) Notice the division by zero. The program compiled just fine. I hadn't realized what I had done at this point. I downloaded the program into the chip, and it ran with the following output. 0:6.805645E+38 My questi