Unless the method is called from inside a loop, the extra time it take to call a method/procedure/function will not be noticable.
>I had a form with page frames which was originally 128k. I noticed a lot of the code was repetitive on each page, therefore, I created methods. Every time the same code came up, I just referenced the method. I managed to get the form down to 50k, but I noticed my executable file increased by 225k. Using methods decreases the typing or copying code, but am I losing performance by doing it this way? Also this questions is for functions and procedures too.
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