Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Here's Print Using Mismatch error
#4
Yeah what Rho said AND what bplus said because this works too!
Code: (Select All)
Dim formatString As String
formatString = "##.##"
For i = 0 To 9
    'Print Using "##.##"; i / 10; "-"; (i + 1) / 10; " |";
    Print Using formatString; i / 10;
    Print " -";
    Print Using formatString; (i + 1) / 10;
    Print " |";
    'For j = 1 To freq(i) / 10      this doesn't do anything because freq() not declared
    '    Print "*";
    'Next j
    Print
Next i

Wait this doesn't work because i/10 never ='s or exceeds 1
Code: (Select All)
'For j = 1 To freq(i) / 10      this doesn't do anything because freq() not declared
    '    Print "*";
    'Next j
b = b + ...
Reply


Messages In This Thread
Here's Print Using Mismatch error - by Dimster - 01-13-2024, 06:47 PM
RE: Here's Print Using Mismatch error - by bplus - 01-13-2024, 07:40 PM
RE: Here's Print Using Mismatch error - by bplus - 01-13-2024, 07:52 PM
RE: Here's Print Using Mismatch error - by bplus - 01-13-2024, 08:47 PM



Users browsing this thread: 2 Guest(s)