I am looking at VB6 with statements like -
selected = lstIDS.ListIndex
NUM_ENTRIES = Format$(selected, "00")
What does the format function with the "00" argument do?
Format$(1, "00")
returns 01
. Format$(1, "000")
would return 001
and so on. That format argument specifies the minimal numer of digits the number will be displayed with. There, I did it :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With