From: | David McMinn |
Date: | 22 Sep 99 at 17:41:47 |
Subject: | Re: PureBasic |
> By some fortunate set of circumstances, I now have £50 spare, and can now
Lucky you. All my bills came in this month, and now I can't afford to
register before 1 Oct.
> afford the full version of Pure Basic. The question is, do I need it?
Do you think you need it? ;)
> Those that have bought it already, how easy is it to learn. I know the code
> is similar, but does it use the same command libraries and stuff, or does
> it need a lot of work to convert stuff over?
OK, I know I haven't bought it yet, but from what Fred has said, the
code is nearly exactly the same, things like {} are replaced with (),
all function/statement calls must have a () even if they have no
parameters (hey Fred, would it be possible to use MyStatement() as
calling the statement and MyStatement as the address of it?).
The libraries that I know are available are the NCS ones, all the
commands are the same, but they don't have the N on the front. All
the Blitz libraries would need to be re-written, as PB uses a
different lib format.
I think there is an automatic conversion tool in the pipeline, but I
could be wrong about that - it may only have been a suggestion by
someone.
> I'm also thinking about trying C++, because I could then port stuff easily
> to certain other computers where there are many more possible program
> users. As an alternative, would there be a compiler for Pure Basic on other
> platforms?
> (Of course my heart still lies with the Miggy)
One of the design goals of PB was that it was portable so I think
versions on other platforms would be available. It depends how busy
Fred is and how good his x86 ASM is ;)
But if you intend on using C++ to do GUI's on various platforms,
you'll have to re-write a whole big bunch of code, as I haven't seen
anything standard across anything. With PB you might be able to use
the same commands on all platforms, such as (OK, I know these ain't
PB/NCS commands but its an example):
WBToScreen 0 ; Grabs WB on Amiga, grabs Windows desktop on W9x/NT
Window 0,...... ; Opens a window, flags may be interpreted differntly
quit = 0 ; nothing specific
While quit=0 ; or that
If WaitEvent=$200 ; Both AmigaOS and Windows use similar kind of
; event messaging systems for the GUI
quit=-1
End If
Wend
End
And that may work on Unix (XWindows) too.
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie