Mit der DEMO kann ich irgendwie nichts anfangen.
Die Sources die anbei sind kann man (ich) nicht ausführen lassen.
Zudem ist die Syntax für meine Begriffe etwas primitiv...
Code: Alles auswählen
$INCLUDE "ibSize.inc"
DEF w1 as WINDOW
OPENWINDOW w1, 0, 0, 350, 350, @MINBOX | @MAXBOX | @SIZE, 0, "Simple Window", &main
CONTROL w1, @BUTTON, "Top", 0, 0, 0, 20, @TABSTOP | @CTLBTNDEFAULT, 1
CONTROL w1, @BUTTON, "Bottom", 0, 0, 0, 20, @TABSTOP | @CTLBTNDEFAULT, 2
CONTROL w1, @BUTTON, "Left", 0, 0, 50, 0, @TABSTOP | @CTLBTNDEFAULT, 3
CONTROL w1, @BUTTON, "Right", 0, 0, 50, 0, @TABSTOP | @CTLBTNDEFAULT, 4
CONTROL w1, @EDIT, "Client", 0, 0, 0, 0, @CTEDITMULTI | @HSCROLL | @VSCROLL, 5
CONTROL w1, @STATUS, "Status", 0, 0, 0, 0, NULL, 6
ibsAddSizer(w1, 6, @ALIGN_STATUSBAR)
ibsAddSizer(w1, 1, @ALIGN_TOP)
ibsAddSizer(w1, 2, @ALIGN_BOTTOM)
ibsAddSizer(w1, 3, @ALIGN_LEFT)
ibsAddSizer(w1, 4, @ALIGN_RIGHT)
ibsAddSizer(w1, 5, @ALIGN_CLIENT)
SENDMESSAGE w1, @IDSIZE, NULL, NULL
WAITUNTIL w1 = NULL
END
SUB main()
SELECT @MESSAGE
CASE @IDCLOSEWINDOW: CLOSEWINDOW w1
CASE @IDSIZE: ibsProcess()
ENDSELECT
RETURN
ENDSUB
Ich vermisse hier oft ein paar Klammern.
Und im Gegensatz zum Admim des IBasic-Forums glaub ich fest an eine positive Entwicklung von PureBasic
Admin vom IBASIC Forum hat geschrieben:
IBasic Pro is a more advanced language, easily creates DLL's and doesn't require exclusive and constant use of the Windows API.
If you download both demos I think the differences would be quite obvious.
From what I read Purebasics 3D support is not native but depends on OGRE which seems to have a lot of problems. And your pretty much stuck with it.
However with Pro you can easily add a different 3D pak if you don't like the upcoming official one, use COM to access DirectX9, OpenGL is already available through Todd's wrappers, etc. The possibilities are endless.
Not to mention the support from the author Wink
Paul.
OGRE ist nicht das Wichtigste.
Sonst passt bei PB alles ! (Naja OOP !?!?)