VB3 - Generate a character table to a text file
VB3 - Generate a character table to a text file
Rate VB3 - Generate a character table to a text file
(1(1 Vote))
Open "C:\chr.txt" For Output As #1 'The text to save to
For xn = 1 To 256 'Do 256 times
Print #1, "CHR$ " & n% & " equals : "; Chr$(n%) 'Write to text file
n% = n% + 1 'Increment by 1
If n% = 255 Then GoTo closeit 'If 255 characters have
'printed, then end
Next xn 'otherwise, keep going.
closeit: 'Close text file
Close #1
VB3 - Generate a character table to a text file Comments
No comments yet — be the first to post one!
Post a Comment