IonicWind Software

IWBasic => General Questions => Topic started by: Rock Ridge Farm (Larry) on April 23, 2007, 10:30:36 AM

Title: Converting old Ibasic stuff
Post by: Rock Ridge Farm (Larry) on April 23, 2007, 10:30:36 AM
I have seen post where people converted old Ibasic stuff to Ebasic.
What types of things need to be done to convert an Ibasic program to Ebasic?
Title: Re: Converting old Ibasic stuff
Post by: LarryMc on April 23, 2007, 10:51:59 AM
Very little other than cahnge the file extension from .iba to .eba.

Change the file extension and compile it just like in IBasic and you've got a 99+% chance it willlrun without doing anything; provided you have the correct "add-on" libs and includes - if you used any.

Larry
Title: Re: Converting old Ibasic stuff
Post by: GWS on April 23, 2007, 11:12:47 AM
Depends on how 'old' you're talking ..  :)

If the files are original IB Standard programs, there's a bit more to do - not difficult though.

The'Window' instruction becomes 'OpenWindow'

Subroutines need an 'EndSub' statement.

The format of all Controls definition statements were changed, but it's not hard to go through and change them.

The 'instr' statement parameters were switched around a bit - pretty easy if you look it up in Help.

all the best, :)

Graham
Title: Re: Converting old Ibasic stuff
Post by: LarryMc on April 23, 2007, 01:11:33 PM
I didn't even think of the STD to Pro diff because all I ever had was Pro.
Larry
Title: Re: Converting old Ibasic stuff
Post by: pistol350 on April 25, 2007, 03:57:01 AM
Quote from: GWS on April 23, 2007, 11:12:47 AM
Depends on how 'old' you're talking ..  :)

If the files are original IB Standard programs, there's a bit more to do - not difficult though.

The'Window' instruction becomes 'OpenWindow'

Subroutines need an 'EndSub' statement.

The format of all Controls definition statements were changed, but it's not hard to go through and change them.

The 'instr' statement parameters were switched around a bit - pretty easy if you look it up in Help.

all the best, :)

Graham

Hi Graham!!
Let's not forget that most of the problems you listed above and more can easily be solved using the famous and very useful StandardToPro program written by the former ibDevGroup (including Steve aka BEVETS) RIP :'( .
I stick it here for those who lost it.
Title: Re: Converting old Ibasic stuff
Post by: GWS on April 25, 2007, 08:12:59 AM
Ah yes  ;D .. I'd lost track of Steve's program.

I can give it a whirl again myself now - thanks  :)

Graham