Page 1 of 2

PureBasic on Larkware.com

Posted: Fri Nov 04, 2005 11:19 pm
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

Posted: Fri Nov 04, 2005 11:30 pm
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

Posted: Fri Nov 04, 2005 11:37 pm
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.

Posted: Sat Nov 05, 2005 1:43 am
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. ;)

Posted: Sat Nov 05, 2005 10:39 am
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? :)

Posted: Sat Nov 05, 2005 12:43 pm
by Num3
I just changed the wikipedia ...

Posted: Sat Nov 05, 2005 12:53 pm
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. :)

Posted: Sat Nov 05, 2005 12:54 pm
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 :!:

Posted: Sat Nov 05, 2005 12:54 pm
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!"

Posted: Sat Nov 05, 2005 12:58 pm
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... ;)

Posted: Sat Nov 05, 2005 12:59 pm
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!

Posted: Sat Nov 05, 2005 1:04 pm
by PB
Okay, I'll add it. :)

Posted: Sat Nov 05, 2005 1:21 pm
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.

Posted: Sat Nov 05, 2005 2:31 pm
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

Posted: Sat Nov 05, 2005 3:13 pm
by thefool
Updated the wiki..