Page 1 of 1

LTRIM $

Posted: Tue Mar 05, 2019 6:07 pm
by knothead1008
I was wondering if there is away to do an LTRIM$ globally thru the script to handle something like,

PRINT LTRIM$ TP: "TOTAL PARTS";

Brian..

Re: LTRIM $

Posted: Tue Mar 05, 2019 7:31 pm
by MikeHawk
I'm not sure I get it. Are you trying to do this?

Code: Select all

PRINT LTRIM$(STR$(TP)) + "TOTAL PARTS";
You have to convert numbers to strings before you can use LTRIM$() on them. You could also try PRINT USING.

Re: LTRIM $

Posted: Tue Mar 05, 2019 7:54 pm
by knothead1008
Got it. .
Thanks for replying