[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
Pete's QBASIC Site • LTRIM $
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