While your at it, perhaps a _TRIM function would be nice

by (Login burger2227)
R

VB does not need LTRIM$ or RTRIM$ because it can do both with TRIM.

That would save some coding too for new QB64 projects.

The leading space is great for older programs, but it creates extra work when formatting some Print applications.

Ted



    
This message has been edited by burger2227 from IP address 71.60.226.47 on Apr 14, 2008 11:49 AM

Posted on Apr 14, 2008, 9:44 AM
from IP address 71.60.226.47

Respond to this message   

Return to Index


Response TitleAuthor and Date
*It would be nice to have a built-in function rather than creating a QB TRIM function.rpgfan3233 on Apr 14
There won't be an inbuilt TRIM function (to do LTRIM and RTRIM at once)... on Apr 14
 * Well I don't need a ROUND function either then thankyou on Apr 15
  *How were you planning on rounding a DOUBLE to a 64 BIT INTEGER then? on Apr 15
   * Can't you do DEF FN ROUND(X)=SGN(X)*INT(ABS(X)+0.5) ?qbguy on Apr 15