>two questions. keep reading in UT about "wrapper", what does that mean?
It's a method that hide (encapsulate) another one, giving the second method a new interface and/or new functionality.
Ex.: Method A accept one parameter (date), but doesn't validate the type of the parameter that was passed, causing it to crash.
Method B could be created as a wrapper to A like this:
LPARAMETERS tdDate
IF Type("tdDate") = "D"
Method_A(tdDate)
ELSE
MessageBox("Wrong parameter passed")
ENDIF
>second, when i convert from 2.6 to 5.0, should i choose visual or functional conversion? i converted a ton of programs awhile back and can not remember what i choose. what is the difference between visual and functional?
Visual conversion only create the forms with no code in them. The codes are written in a single separate file for reference.
Functional conversion is suppose to create the forms and put the code behind them so that the application could be run "as is". I'm sure there were good intention behind this, but it rarely work even after many tweaking at the code.
I would go for a functional conversion only if your application is very small.
HTH
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement