¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Moderated Re: Serial Number Question


"edw3nr"
 

--- In linuxham@..., w1hkj <w1hkj@...> wrote:

edw3nr wrote:

--- In linuxham@..., w1hkj <w1hkj@> wrote:


Sure is Ed.

In the script file:
change the line

printf "%04d &#92;n" $count

to be

printf "%03d %03d %03d &#92;n" $count $count $count

In the c++ file:

change the line

cout << counter << " " << endl;

to be
cout << counter << " " << counter << " " << counter << "
" <<
endl;



Dave this is giving me:

001 002 003 instead of

001 001 001


Ed W3NR
Sounds like you changed the Macro and not the script or c++ file Ed.

Dave
No I left the macro as is. I changed the 2 files as you said. I'll
look at it again tommorrow. Probably another dumb error on my part.

Ed W3NR

Join [email protected] to automatically receive all group messages.