http://www.purebasic.com
https://www.purebasic.fr/english/
Please read my post more carefully.Comtois wrote:i would like to give a try, so i downloaded "PureObject_Win32_1.0rev65.zip"
In the archiv there is a file 'OOP.exe' , when i run it, it ask for a file .pb ?
Is it an update ? must i have a previous version ? if yes, where can i download it ?
- The Plugin doesn't come with an installer anymore. Detailed installation instructions for the IDE and jaPBe can be found in the project page.
Changelog:
http://pb-oop.origo.ethz.ch/wiki/changelog
This is due the fact that Hellhound did declare methods of a masterclass as "Flex" using a more anxient revision. Methods can only be "Flexible" in a Baseclass.Comtois wrote:i wanted to test this http://pb-oop.origo.ethz.ch/system/files/PBOOP_DX9.zip but it dont work with the last update r65.
Fixed!Godai wrote:The example at the webpage crashes during the list iteration with the latest release. And you need to change This to *This to make it compile :D
Should be COM compilant, so try and import a class out of a PureObject compile and use it in an external C++ lib.PS: How portable is the code generated?, can I still make DLLs?
There are many many many (if you dont mind less importand) things which are still not handled by the preprocessor, I have many ideas on a big todo list. But all next bigger addings do depent on if its really worth the work compared to that small amount of users actually using it. For my purposes it gots all it needs right now.... and why isn't this handled by the pre-processor itself
Means you can find a beautyfied easy-to-read conversion to PB nativ code in the same directory where PB in general does safe the temporary files before sending them to the compiler. So this will be in newer PB versions your users temp file.Part of inc.'s first post wrote:- A final beautyfied output of the converted code. Easy to read i.e. in forums, like if you dont want to force the user to use the Preprocessor to make your code work!
(The converted code can be found in the users temp directory of the Windows installation)
Do look into the temporary generated code like explained above and you'll see how the approach is done.How do you handle things internally?, stack-based system?.
My purpose wasn't to invent a new preprocessor language, ... it is an integration of an OOP style paradigm into the present PureBasic Language and its syntax logic.superadnim wrote:although I was focusing on a more C-like syntax (; delimiter as line endings, c-like array declaration and variable assignment
You weren't just bitching out loud, you have been triple posting your Q's over three areas.I don't mind the pointer declaration, I was just bitchin' out loud
... you might want to share a part of the code which makes the process crashing. Also a part of where the 'Width/EndWith' issue occurs.SofT MANiAC wrote:it doesn't work with dreamotion...
also it crashes on with-endwith
/me want OOPureBasic :oops:
ok, lets start...inc. wrote:... you might want to share a part of the code which makes the process crashing.
Thx
Code: Select all
C:\PB\
|---OOP.exe
|---PureBasic.exe
|---Examples
| `---DM3D
| `---11-3D2D.pb
|---Includes
| |---DM3D
| | `---include
| | |---Animate Sprite.pbi
| | |---d3d9.pbi
| | |---d3d9caps.pbi
| | |---d3d9types.pbi
| | |---d3dx9.pbi
| | |---d3dx9anim.pbi
| | |---d3dx9core.pbi
| | |---d3dx9effect.pbi
| | |---d3dx9math.pbi
| | |---d3dx9mathinl.pbi
| | |---d3dx9mesh.pbi
| | |---d3dx9shader.pbi
| | |---d3dx9shape.pbi
| | |---d3dx9tex.pbi
| | |---d3dx9xof.pbi
| | |---dinput.pbi
| | |---dplay.pbi
| | |---dreamotion3d.pbi
| | |---dreamotionStruct.pbi
| | |---dsound.pbi
| | |---DxCommon.pbi
| | |---dxerr9.pbi
| | `---Physic.pbi
| `etc...
|
`etc...
Code: Select all
; ------------------------------------------------------------
; DreaMotion3D
;
; Exemple : 2D-3D etc...
; Historique :
; 18/09/06 00:00 DreaMotion3D Team
; 01/11/06 19:16 TMyke
;
; ------------------------------------------------------------
; Include files
IncludePath "..\..\includes\dm3d\Include" : IncludeFile "dreamotion3d.pbi"
later...inc. wrote:Also a part of where the 'Width/EndWith' issue occurs.Thx