Problem with numbers.

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
koleviko
Junior Coder
Posts: 45
Joined: Thu Nov 20, 2008 2:59 pm

Problem with numbers.

Post by koleviko » Sat Sep 10, 2011 3:48 pm

Code: Select all

input>data,Input data,00100
Let>Counter=0
Repeat>Counter
Add>counter,1
let>%data%=%data%+1
WriteLn>c:\numbers.txt,,%data%
Until>Counter=25
Trying to generate numbers but ...
The numbers are written without zeros in front of.
I want to look like 00100; 00101; 00102;00103 ...........

Can it happen???

:roll:

Revision:
That works!

Code: Select all

input>data,Input data,00100
Let>Counter=0
Repeat>Counter
Add>counter,1
let>data=data+1
WriteLn>c:\numbers.txt,,00%data%
Until>Counter=25
:P

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts