PBSource-Converter(v394 to v400) Released!
PBSource-Converter(v394 to v400) Released!
Hi,
What is the PBSourceConverter?
----------------------------------------
PBSourceConverter is a Plugin based "Multi-Pass Converter" with it you can converting PurBasic-Sources.
So you can make a compatible Sourcecode for a new PureBasic-Compiler. As alternative you can also make
compatible Sourcecodes to previously versions of PureBasic. So you must only create an own PluginFile for it.
The current version of Converter contains already the Plugin "PB394 to PB400".
DownLoad Link:
http://www.codersworkshop.com/viewshowcase.php?id=839
What is the PBSourceConverter?
----------------------------------------
PBSourceConverter is a Plugin based "Multi-Pass Converter" with it you can converting PurBasic-Sources.
So you can make a compatible Sourcecode for a new PureBasic-Compiler. As alternative you can also make
compatible Sourcecodes to previously versions of PureBasic. So you must only create an own PluginFile for it.
The current version of Converter contains already the Plugin "PB394 to PB400".
DownLoad Link:
http://www.codersworkshop.com/viewshowcase.php?id=839
This is very nice, usefull, welcome and well done !
I'm trying your converter on a big project.
Is it possible to do a rule for such case ?
( using PureCOLOR library for example )
translated to :
2/
Is it possible to add the possibility to process a bunch of files ( convertion of all files of a project in a row ) ?
3/
In the 3.94 to 4.0, GetDatabaseLong() and GetDatabaseFloat is not converted.
I'm trying your converter on a big project.
Is it possible to do a rule for such case ?
( using PureCOLOR library for example )
Code: Select all
PureCOLOR_SetGadgetColor(#gList,#Black,$ffffff)
Code: Select all
SetGadgetColor(#gList,#PB_Gadget_BackColor,$ffffff)
SetGadgetColor(#gList,#PB_Gadget_FrontColor,#Black)
2/
Is it possible to add the possibility to process a bunch of files ( convertion of all files of a project in a row ) ?
3/
In the 3.94 to 4.0, GetDatabaseLong() and GetDatabaseFloat is not converted.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
@Trond
Unsupported way? how?
@Flype
and check the Pluginfile. Here the part of script from plugin.
The values will be get so from UseDatabase and OpenDatabase. If the
value cannot recognize, the converter set a <value recognize failed>
I hope that.Actually, that code was correctly converted.
Unsupported way? how?
@Flype
Normaly yes. you can add a new converting job for current plugin.translated to :
Code:
SetGadgetColor(#gList,#PB_Gadget_BackColor,$ffffff)
SetGadgetColor(#gList,#PB_Gadget_FrontColor,#Black)
Includes? it comes in later versions.Is it possible to add the possibility to process a bunch of files ( convertion of all files of a project in a row ) ?
hmm these commands are already supported by pluginfile. Get on EditIn the 3.94 to 4.0, GetDatabaseLong() and GetDatabaseFloat is not converted.
and check the Pluginfile. Here the part of script from plugin.
Code: Select all
[BEGIN JOB]
OriginalName = GetDatabaseLong
ReplacedName = GetDatabaseLong
[ADD PARAMETER]
Position = 1
[FROM COMMAND]
CommandName = UseDatabase | OpenDatabase | OpenDatabaseRequester
Position = 1
[ALLOW #PB_ANY]
Position = 1
[END JOB]
[BEGIN JOB]
OriginalName = GetDatabaseFloat
ReplacedName = GetDatabaseFloat
[ADD PARAMETER]
Position = 1
[FROM COMMAND]
CommandName = UseDatabase | OpenDatabase | OpenDatabaseRequester
Position = 1
[ALLOW #PB_ANY]
Position = 1
[END JOB]
value cannot recognize, the converter set a <value recognize failed>
-
- Addict
- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
Re: PBSource-Converter(v394 to v400) Released!
> DownLoad Link:
> http://www.codersworkshop.com/viewshowcase.php?id=839
I get this error when clicking the zip link on the URL above:
> http://www.codersworkshop.com/viewshowcase.php?id=839
I get this error when clicking the zip link on the URL above:
Code: Select all
While trying to retrieve the URL:
The following error was encountered:
Connection Failed
The system returned:
Error: Could not connect to server.
The remote host or network may be down. Please try the request again.
Your cache administrator is root.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: PBSource-Converter(v394 to v400) Released!
dunno - works fine for me (at 8:00PM EDT)PB wrote:> DownLoad Link:
> http://www.codersworkshop.com/viewshowcase.php?id=839
I get this error when clicking the zip link on the URL above:
(snip)
[/code]
Great tool - many thanks for sharing with us.
cheers
Re: PBSource-Converter(v394 to v400) Released!
I still can't get it, nor can I see the screenshot of it.
@AL90: Can you mirror it somewhere more reliable? Thanks!
@AL90: Can you mirror it somewhere more reliable? Thanks!
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.