[futurebasic] Re: [FB] Re: cross-platform ( x-fb)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 1999 : Group Archive : Group : All Groups

From: GBeckman@...
Date: Wed, 7 Jul 1999 03:21:06 EDT
In a message dated 7/7/99 5:48:52 AM, lcs@... writes:

>How much use for Delphi is the FB Pascal Converter?
>
>Have you any other programs for partially automating
>the conversion FB ==> Delphi?


  I have learned to use search and replace cleverly to fix all sorts of 
things.  I think the FB converter is to help get the toolbox Pascal into FB 
form.

FB might have a bunch of these sorts of constructs: myString$(x)=somthingelse
and I search for $( and change them to [ and then search for )= and change to 
]:=

you just have to add begin after "if suchandsuch then" and get rid of the 
Long then.  At the end I rem out the END IF and put my own end.  Helps me 
find the same point in the Mac code:
end; {END IF}

It is not big , but it does sort of help.

Before a bunch run out and get Delphi, remember, I am just talking about 
converting functions that do things..resetting my variables, running formulas 
and the like.  There are some Windows specific things that you just have to 
tough out.  If find file routines quite similar, but  the construct is 
different when you really get it right.  Try-Finally rather than begin else 
end.  Printing was a hassle.  Learning to use the grid and formatting 
characters in the grid was not evident until I plowed through some Delphi 
programming books.  Delphi for Dummies is really quite remarkable as his 
little warnings cover just about every problem I ran into.  Rubenking also 
has another great one, The Delphi Problem Solver.

Menus are very simple and well handled.  Getting dialogs to be created on the 
fly and _properly_ destroyed so all memory is released was absolutely 
terriable.  Rubenking has the only method that would work in 16 bit that I 
could find, and I tried all the other methods, including what tech said.  
BTW, don't think there will be a STAZ waiting happily for you to ask a 
question.  Borland charges almost $4 a minute  (two years ago) to talk to 
them. 

GB