Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text2Html
Message
 
 
To
05/02/2009 08:48:10
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01379401
Message ID:
01379442
Views:
25
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform