PureBasic on Larkware.com

Everything else that doesn't fall into one of the other PB categories.
DevilDog
Enthusiast
Enthusiast
Posts: 210
Joined: Thu Aug 04, 2005 9:32 pm
Location: Houston, Tx.

PureBasic on Larkware.com

Post by DevilDog »

If you're not familiar with www.larkware.com I recommend it as a great site to get tech news in general and programming news in particular.

It occurred to me to try to see if they had ever covered PB.

So I searched in Google. (by the way you can tell Google to search for a word(s) in only one web site by using the syntax:

Code: Select all

searchword(s) site: somesite.com
For example to search for any mention of purebasic on larkware.com you can type:

Code: Select all

Purebasic site:larkware.com
Anyway, they have not covered it and I think it might be good for PB's exposure to do so.

So the question to all of you is: If you have a short blurb to put out about PB, what do you think is essential?

I'll start it off by using what I was going to originally use, wikipedia's listing:

PureBasic is a dialect of the BASIC programming language. It has a limited command set, but compiles directly to assembler (IA-32) and generates very small executables. It can compile for Microsoft Windows, Linux, Mac OS X and AmigaOS from the same source file with some tweaking. It is actively developed by the French company Fantaisie Software.

It is possible to add assembler commands within the Basic source code while using the variables declared in another Basic source file. The programmer has the possibility to optimize the time critical parts of this code easily. As the bit width of 80386 and later processors is 32-bit and it has all the basic operations for dealing directly with 32-bit values the microprocessor can be used like a programmable calculator and therefore unique game programs can be written.
What corrections to the above text should I make? What about additions?

Thanks
When all is said and done, more is said than done.
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

They ripped it directly from Wiki, as I notice my small corrections in there. But unfortunately, Wiki have deleted the purebasic page now.. grr
DevilDog
Enthusiast
Enthusiast
Posts: 210
Joined: Thu Aug 04, 2005 9:32 pm
Location: Houston, Tx.

Post by DevilDog »

Larkware hasn't yet listed PB in their site. I just copied the text above from wikipedia.

I'm considering asking Larkware to cover PB and I was hoping to use the text above from wikipedia as a start.

So I'm asking for additions or corrections.

Hope that's clearer.
When all is said and done, more is said than done.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Wiki have deleted the purebasic page now.. grr

No they haven't: http://en.wikipedia.org/wiki/PureBasic

I also added a link from Wiki's "Visual Basic" page to the "PureBasic" page. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Does pb really have that limited command set? I think it suits my needs rather well. And where is the interesting part that it can use api directly? :)
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

I just changed the wikipedia ...
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> I just changed the wikipedia

I just did a major update to better explain PureBasic's strengths, and I kept
your edits in too, which were good additions. :)
Last edited by PB on Sat Nov 05, 2005 12:54 pm, edited 1 time in total.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

PB wrote:> I just changed the wikipedia

I just did a major update to better explain PureBasic's strengths, and I kept
your edit of 800 commands. :)
LOL :D

You're evil... Those references to bloat basic make me laugh :lol:

Added a little more :!:
Last edited by Num3 on Sat Nov 05, 2005 1:06 pm, edited 1 time in total.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Heh i was writing the excact same things about API but it seems like you pressed the "Save page" button first :D

small things:
It is also possible to add assembler commands within the Basic source code while using the variables declared in another Basic source file.
This makes me think i cant use the variables declared in the current source code :/
unique game programs can be written.
What is that?
Shouldnt it be unique games and programs

And:
isnt it just as easy to use the linux api in your code as the windows?

And remember, NO RUNTIMES needs to be stated to get those visual basic users to move :) Also post an example that shows a hello world messagerequester(remember to mention that a messagerequester is the same as an msgbox)..
And post how big the compiled file is :) "xx.xx kbytes! And that exe will run on any windows machine from 95 and up, without any runtimes needed!"
Last edited by thefool on Sat Nov 05, 2005 12:59 pm, edited 1 time in total.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Shouldnt it be unique games and programs

I'll change it.

> isnt it just as easy to use the linux api in your code as the windows?

My example compared APIs in VB to PB, but Linux doesn't have VB... ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

I wrote more in my post..
I know linux does NOT have vb, however i meant that you should say that also the api from linux and macos is directly accessible!
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Okay, I'll add it. :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Another update to Wikipedia done. And to whoever added #MAX_PATH=260
to the PureBasic example, DON'T! It's not needed. If you're going to edit
the article, make sure you get your facts right first, please.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Updated once again with better source code formatting, an image, and
mention that code can exported as a DLL as well as an EXE. ;)

http://en.wikipedia.org/wiki/PureBasic
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Updated the wiki..
Post Reply