LB Booster
General >> Suggestion Box >> USING() enhancement http://lbb.conforums.com/index.cgi?board=suggestions&action=display&num=1472061975 USING() enhancement
Post by Jack Kelly on Aug 24th, 2016, 6:06pm
If there is a future release of LBB, I would like to see a small enhancement to the USING() function -- a zero (0) template character which would create a non-significant leading zero, or accept a non-zero digit.
To achieve this currently, one must code a search and replace loop. Re: USING() enhancement
Post by tsh73 on Aug 24th, 2016, 6:31pm
Code:
data 0, 3, 57
for i = 1 to 3
read x
print right$("00";x, 2)
next
Re: USING() enhancement
Post by Jack Kelly on Oct 18th, 2016, 07:06am
What about my idea for '0' as a template character. It would be very helpful especially in date routines where the user enters a one digit day or month and the date string requires 'mmddyy' for example.
I understand that Anatoly's suggestion is a next-best workaround.