08-22-2025, 11:58 AM
Thank you for the help and explanation. My tired old eyes were reading the WIKI incorrectly.....
(08-22-2025, 12:49 AM)bplus Wrote: Option _Explicit
Dim cmd$, count1%, count2%
Open "text.txt" For Output As #1
cmd$ = Command$(count1%) ' <<< this is saying cmd$ = Command$(0) because you never assigned count1% !!!
' just as this line reports!!!
Print #1, "Command$ elements1 cntr ="; count1% ' = 0
count1% is always 0 because you don't make it anything other.
So far, this is the oldest that I've ever been....
And, as the squirrel says, you're not old as long as you know where your nuts are!.
And, as the squirrel says, you're not old as long as you know where your nuts are!.

