Page 4 of 4

Posted: Wed Jun 28, 2006 12:53 am
by AL90
New version 1.0.8 available!


V1.0.8
------
- Conversions can now start also with the ENTER-Key.
- The last used Plugin will now also saved in ConfigFile.
- Added an own Icon for the Converter.
- Some Fixes.

Download from PureArea.net

Download from CodersWorkshop.com

Download from the Project Homepage

Posted: Wed Jun 28, 2006 1:08 am
by Dare
Hi AL90,

Had this for a time, but never really needed to use it, just did some manual changes from time to time.

However it has just proved extremely useful for a bulk (many files) conversion of something I decided would be usefully "4-ed".

It was so easy to use that I bulk converted everything in my 3.94 release folders, so now have a 4.00 version of everything live.


Thank you very very much! :D

Posted: Wed Jun 28, 2006 6:45 pm
by AL90
Thanks for using and the report. :wink:

Posted: Thu Jun 29, 2006 7:16 am
by tomijan
@al90
great, its nice, that source converter is living code!

regards
tom

Posted: Thu Jun 29, 2006 6:40 pm
by AL90
@tomijan

Thanks. :wink:

Posted: Fri Aug 18, 2006 10:49 pm
by AL90
New version 1.0.9 available!


V1.0.9
------
- Some Fixes in recognize of commands. So will now e.g. "_ReadFile()" no longer converted but recognize as function.

Download from PureArea.net

Download from CodersWorkshop.com

Download from the Project Homepage

Posted: Sat Jan 20, 2007 5:49 pm
by SFSxOI
A great tool! Thank you very much :)

Any ambitious plans for other plug-in's, like C++ or VB to PB? ;)

Any guidelines for writing our own plug-in's?

Thank You

Posted: Sat Jan 20, 2007 6:51 pm
by Azul
I would be interested about plugins for other basics from history :P

Like C64 native "Basic v2" and "Simons' Basic" :P

I still have my programs written to those languages but too much time has passed to rewrite those from memory.

I know than everything can't be ported without emulation of hardware.

ah .. those "line numbers are mandatory" basics :P

Posted: Sun Jan 21, 2007 1:40 am
by AL90
SFSxOI wrote:A great tool! Thank you very much :)
Thanks. :wink:
Any ambitious plans for other plug-in's, like C++ or VB to PB? ;)
No. Sorry, but I can't developing C++, and a VBtoPB Converter is currently not planed.
Any guidelines for writing our own plug-in's?
Perhaps later. currently I work an other Project.

Posted: Sun Jan 21, 2007 2:01 am
by AL90
Azul wrote:Like C64 native "Basic v2" and "Simons' Basic" :P
A Converter for 8Bit Computer-Sources? No, Sorry. Do you plans developing which ? :lol:
I know than everything can't be ported without emulation of hardware.
If I have some time, I use a Emulator to feel the good old times. :D

Posted: Tue Nov 27, 2007 1:17 am
by AL90
New version available.
V1.1.0

- Fixed: The 1MB limitation for sourcecodes was now removed.
- Some small optimizations.
- Compiled under PB4.10 for Vista compatibility. (Not tested)
PB Source-Converter v.1.1.0

Posted: Sat Dec 01, 2007 2:36 pm
by yrreti
Thank you very much AL90 :D :D :D :D :D :D :D

Your program has been very useful and helpful to me in the past, and
even now, when ever I run across some older code that I want to check
out. And it does a good job.

Posted: Mon Dec 22, 2008 1:55 pm
by Thorsten1867
I've tried to create a plugin to convert from V4.20 to V4.30:

Code: Select all

; PBSourceConverter Version 1.1.0

[BEGIN JOB]
OriginalName = CountList
ReplacedName = ListSize
[END JOB]

[BEGIN JOB]
OriginalName = ClearGadgetItemList
ReplacedName = ClearGadgetItems
[END JOB]

[BEGIN JOB]
OriginalName = CameraProjection
ReplacedName = CameraProjectionMode
[END JOB]

[BEGIN JOB]
OriginalName = ComboBoxGadget
ReplacedName = ComboBoxGadget
[REMOVE PARAMETER]
Position = 5
[END JOB]

[BEGIN JOB]
OriginalName = ComboBoxGadget
ReplacedName = ComboBoxGadget
[ADD PARAMETER]
Position = 5
[CONSTANT VALUE]
Value = 21
[END JOB]

[BEGIN JOB]
OriginalName = #Byte
ReplacedName = #PB_Byte
[END JOB]

[BEGIN JOB]
OriginalName = #Word
ReplacedName = #PB_Word
[END JOB]

[BEGIN JOB]
OriginalName = #Character
ReplacedName = #PB_Character
[END JOB]

[BEGIN JOB]
OriginalName = #Long
ReplacedName = #PB_Long
[END JOB]

[BEGIN JOB]
OriginalName = #Float
ReplacedName = #PB_Float
[END JOB]

[BEGIN JOB]
OriginalName = #Double
ReplacedName = #PB_Double
[END JOB]

[BEGIN JOB]
OriginalName = #Quad
ReplacedName = #PB_Quad
[END JOB]

[BEGIN JOB]
OriginalName = #String
ReplacedName = #PB_String
[END JOB]

[BEGIN JOB]
OriginalName = StrQ
ReplacedName = Str
[END JOB]

[BEGIN JOB]
OriginalName = HexQ
ReplacedName = Hex
[END JOB]

[BEGIN JOB]
OriginalName = BinQ
ReplacedName = Bin
[END JOB]

[BEGIN JOB]
OriginalName = ValQ
ReplacedName = Val
[END JOB]

[BEGIN JOB]
OriginalName = ChangeListIconDisplay
ReplacedName = SetGadgetAttribute
[ADD PARAMETER]
Position = 2
[CONSTANT VALUE]
Value = #PB_ListIcon_DisplayMode
[END JOB]
Same changes can't be converted automaticly. E.g.:
- 'Read' keyword now requiers a type (Read.l, Read.q etc.)
- CameraFOV() angle from radian to degree
- Array and list parameter now requiers the 'List' or 'Array' keyword