Sure, thanks fort the reply John,
I have a .prg file that contains hundreds of procedures that are defined by job function, and I wanted to break them into classes based on the job function, add the procedures as methods, and then go in and make modifications to those methods as needed. I started to do this manually, but it became so tedious that I wanted to try and atomate the process. There may be a better way and I am very open to any suggestions.
>Hi Thom ---
>
>Answers: No and No. You can't move a class DEFINEd with DEFINE CLASS to a VCX and you can't add methods programatically (although you can WriteMethod to previously defined methods)
>
>You *might* want to experiment with adding PROC..ENDPROC method code to the Methods column in the VCX and then recompiling the VCX but that's a bit on the dangerous side (you could corrupt the VCX).
>
>Perhaps if you explained why you have this need there may be alternative architectures to address it.
>
Précédent
Suivant
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