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

Started by Frank Manning in BasicX14 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 BasicX13 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 BasicX13 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 BasicX14 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 BasicX7 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 BasicX13 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


Fixed-length Strings

Started by Don Kinzer in BasicX13 years ago

I was experimenting with fixed-length strings and was surprised to find that the BasicX compiler accepts the syntax below. Although it ...

I was experimenting with fixed-length strings and was surprised to find that the BasicX compiler accepts the syntax below. Although it seems logical that it would be accepted it is not even hinted at in the manual. Const slen as Byte = 10 Dim fs as String * slen It turns out that VB6 also accepts this syntax, too. Don


BX-24p is available now!

Started by Chris in BasicX14 years ago

BX-24p is available now! An order link has been grafted onto the regular BX-24 page while the new 24p page is being completed. Here...

BX-24p is available now! An order link has been grafted onto the regular BX-24 page while the new 24p page is being completed. Here is the 24p run down: Compatibility: Pin-for-pin compatible with the standard BX-24. 100% software/compiler compatible with the BX-24. New Features: Line by line the 24p executes u


BASICX COMPILER USING LINUX

Started by lgharriman in BasicX15 years ago

Greetings everyone. I don't know if we have any Linux users in the group. I purchased the Win4Lin for $99.00 from Netraverse...

Greetings everyone. I don't know if we have any Linux users in the group. I purchased the Win4Lin for $99.00 from Netraverse company. Their web page is www.netraverse.com I installed the Win4Lin program in my Xandros Linux box. I installed Windows Me and then finally the Basicx compi


newbie question?Torch Height Control

Started by Erik in BasicX15 years ago

I just started this torch height control program with the bx-24 i've been running this code for the last week,i just upgraded to the...

I just started this torch height control program with the bx-24 i've been running this code for the last week,i just upgraded to the newer version of the compiler 2.10 and weather it's something i did to the code or the newer version ,now i'm getting a error message when i compile


Queues of a different type

Started by psyclopedia in BasicX13 years ago 3 replies

Queues are our friend. They're great for moving data around efficiently. Do they only work for byte types? I can compile an application...

Queues are our friend. They're great for moving data around efficiently. Do they only work for byte types? I can compile an application using integers in a queue array and I get no errors. Is this just an overly permissive compiler? I'm struggling to write a Kalman filter for ADC values (integers), and the FIFO queue would work perfectly to keep a running average. Feed the values in on


Simulation in VB using the BasicXAPI.dll

Started by hinzvc in BasicX15 years ago 9 replies

Hi, I'm trying to use VB6 with the BasicXAPI.DLL but the VB6 compiler stops on the line Call...

Hi, I'm trying to use VB6 with the BasicXAPI.DLL but the VB6 compiler stops on the line Call BasicXAPI.BOS_OpenCom(PortNumber, Baud, InputQueue, OutputQueue) located in the bxBOSAPI.bas file with the error "Invalid port number" but I've tried different port


BasicX Version 2.1

Started by basicxgroup in BasicX15 years ago 2 replies

Frank, I downloaded the new version today and I had two problems. 1. I Downloaded two times: "BasicX Software Setup -...

Frank, I downloaded the new version today and I had two problems. 1. I Downloaded two times: "BasicX Software Setup - Program Only Includes Downloader/Compiler/Editor only. Extract and run setup.exe. Program Setup 1 of 1 - 4MB" but when I ex


Re: Detail instructions for LCDX

Started by Tom Becker in BasicX7 years ago

> ... Where can I find them? If you have installed the Basic-X documentation, you'll find a Compiler Guide that describes the IDE. ...

> ... Where can I find them? If you have installed the Basic-X documentation, you'll find a Compiler Guide that describes the IDE. Compiling and downloading to the LCDX is the same as for a BX-35 project. To compile, download and start the DoorLock demo: Start the IDE by running Basicx.exe. Click File/OpenEditor. In the editor click File/OpenProject, find the LCDXDemo project fi


Function recursion vs. local var

Started by Tom Becker in BasicX13 years ago 11 replies

Consider: [1] function iFout() as integer [2] dim iX as integer [3] iFout = 1 [4] for iX = 2 to 5 [5] if iArray(iFout) > iArray(iX)...

Consider: [1] function iFout() as integer [2] dim iX as integer [3] iFout = 1 [4] for iX = 2 to 5 [5] if iArray(iFout) > iArray(iX) then [6] iFout = iX [7] end if [8] next [9] end function Line 5 uses iFout as an index to global iArray. The compiler sees it as a local var. How does this syntax differ from recursion? Tom Yahoo! Groups Links