Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text2Html
Message
 
 
À
05/02/2009 08:48:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01379401
Message ID:
01379442
Vues:
26
You have to make decision what is more important in this case.
Another option is to make a class with conversion method instead of function. It would resolve your both problems but could be a bit slower than a function.


>Yes of course,
>but.. it would be nice to write function at once and use it later ... this question not first time appears.. in some cases it was short STRTRAN.. in another WWC and HtmlEncode.. but all ways provide minimal HTML encoding..
>Now I have a chance to write this function as application basic...
>
>But from performance point - I agree...
>
>>Instantiatin XMLDOM object could be expensive but why would you instantiate it for each item? You can do it once before scan.
>>
>>>Yes.. I can't answer.. .. Lets imagine one initialization of DOM object take a 1 second :))) then... if I will every time re-init this object.. and I have SCAN/ENDSCAN for for example...60 items.. It make convert operation not acceptable by execution time :)
>>>But it was just a mind.. nothing seriously.
>>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform