Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRANSFORM bug ?
Message
From
18/07/2000 02:15:49
Walter Meester
HoogkarspelNetherlands
 
 
To
17/07/2000 11:09:36
Jonathan Cochran
Alion Science and Technology
Maryland, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00393170
Message ID:
00393652
Views:
17
Jon,

>I just had this discussion the other day with someone. I posted some code where I used ALLTRIM(STR()), and someone pointed out to use TRANSFORM() instead. Since I've never really used TRANSFORM() before, I thought I would see if there were any issues with it on Microsoft's Knowledge Base. I found the article that George Tasker mentioned, so I decided to stick with ALLTRIM(STR()).

After some further testing I came to the conclusion that the TRANSFORM function was pretty slow anyway. I decided to use to test the number of decimals and transform it onto character with the STR() function. To my surprise it was even faster than a single TRANSFORM function (more than 2 times faster). Since the routine i'm using is time critical, the solution I found is better than using TRANSFORM, even withouth the bug.

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform