May 08, 2024, 10:22:09 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


converions program for Liberty basic to EBasic.

Started by TexasPete, April 15, 2008, 04:23:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TexasPete

Has anyone written a conversion program for Libertybasic  to Ebasic.
Does anyone have any conversion tips that may have already converted
some programs to Ebasic. I am dying to go to machine language code.

Sincerely,
TexasPete

GWS

Pete,

I think it would be quite difficult to have a program that would convert from one to the other.

For example, in LB all the controls for a Window have to be defined before the Window definition - the opposite to EB.
Each control has it's own message routine I believe, whereas EB normally has only one Windows message handling routine for all controls.  Also, the graphics commands are unusual when drawing and maintaining a graphics Window.  Sprite handling is different.

I think much would have to be done manually, with a good understanding of both languages, in order to translate an applicaiton.
Could be done, but quite a bit of work I'd say.

best wishes, :)

Graham
Tomorrow may be too late ..