PDA

Click to See Complete Forum and Search --> : BCX Basic?


NeptuneCentury
Feb 18th, 2004, 07:58 AM
One of the best basic programming
languages ever! (besides PureBasic)

BCX (Basic to C Translator) outputs its
code to a C file then compiles it using
LCC win.

Amazing language.

I am having trouble
getting a Float value from a DLL.

DIM MyVar as SINGLE

MyVar = FSOUND_GetCPUUsage()

all I get is -1.#IND what does this mean?
anyone?

vbNeo
Mar 19th, 2004, 08:49 AM
How can it be one of the best? How does it handle OOP, or MultiThreading? The fact that it converts it to C doesn't make it that powerfull...

Cheers!

NeptuneCentury
Mar 19th, 2004, 10:04 AM
Multi threading is easy
and OOP, (no clue what that is)

But it's not the fact that in converts to
C, it's that I don't know C, so it's very
easy for me to program in basic and
create C executables. It has a lot
of built in functions and cool stuff.
I took me a few weeks to get used to
how it handled variables (becuase it's like
C) but it's cool. I even allows Inline C
and ASM. even allows C shortcuts like
Var++ or ++Var or --Var or Var--
stuff like that

Arrays are like MyArray[10] (0 - 9)
I'ts also allowing me to learn C.

That's why I think i'ts so cool

vbNeo
Mar 19th, 2004, 11:23 AM
If you wanna use it to learn C, I'd recommend you start learning Java instead, It has everything C has, and the syntax is very much alike - forget Basic, no matter what form it's in - it's just not effecient enough.

Cheers!

NeptuneCentury
Mar 19th, 2004, 03:55 PM
Oh, I've done a little bit of Java.
I took a year of webmastering. I didn't
learn much. I spent most of my time
debugging, and my teacher, well, lets
say she couldn't figure it out either.
I'm not really a fan of C style languages.
The language I really want to learn is
ASM. I think this is the most powerful
of all languages (correct me if I'm wrong)

but there are so many different Assemblers
I don't even know where to begin

vbNeo
Mar 19th, 2004, 05:51 PM
Originally posted by NeptuneCentury
Oh, I've done a little bit of Java.
I took a year of webmastering. I didn't
learn much. I spent most of my time
debugging, and my teacher, well, lets
say she couldn't figure it out either.
I'm not really a fan of C style languages.
The language I really want to learn is
ASM. I think this is the most powerful
of all languages (correct me if I'm wrong)

but there are so many different Assemblers
I don't even know where to begin

Programming big applications in ASM would be very foolish, it takes forever - and a good C++ compiler can make just as fast applications, plus you have Object Oriented Programming(Inheritance, polymorphing), and actually readable code, compare to the Hex like ASM.

Cheers!

NeptuneCentury
Mar 19th, 2004, 09:24 PM
Good point, I have seen some sample
source code for ASM and it is impossible
for me to read.