Karakter untuk menampilkan garis untuk membuat sebuah tabel/box menggunakan kode ASCII.
Kode ini sering digunakan untuk membuat tabel di printer dot matrix.
Berikut daftar kode tersebut :
Contoh Penggunaan Box Drawing Character Dalam VB :
Semoga membantu...
Kode ini sering digunakan untuk membuat tabel di printer dot matrix.
Berikut daftar kode tersebut :
ASCII
code 179 = │ ( Box drawing character )
ASCII
code 180 = ┤ ( Box drawing character )
ASCII
code 191 = ┐ ( Box drawing character )
ASCII
code 192 = └ ( Box drawing character )
ASCII
code 193 = ┴ ( Box drawing character )
ASCII
code 194 = ┬ ( Box drawing character )
ASCII
code 195 = ├ ( Box drawing character )
ASCII
code 196 = ─ ( Box drawing character )
ASCII
code 197 = ┼ ( Box drawing character )
ASCII
code 217 = ┘ ( Box drawing character )
ASCII
code 218 = ┌ ( Box drawing character )
ASCII
code 185 = ╣ ( Box drawing character )
ASCII
code 186 = ║ ( Box drawing character )
ASCII
code 187 = ╗ ( Box drawing character )
ASCII
code 188 = ╝ ( Box drawing character )
ASCII
code 200 = ╚ ( Box drawing character )
ASCII
code 201 = ╔ ( Box drawing character )
ASCII
code 202 = ╩ ( Box drawing character )
ASCII
code 203 = ╦ ( Box drawing character )
ASCII
code 204 = ╠ ( Box drawing character )
ASCII
code 205 = ═ ( Box drawing character )
ASCII
code 206 = ╬ ( Box drawing character )
Contoh Penggunaan Box Drawing Character Dalam VB :
Open "LPT1:" For Output As #1 Print #1, Chr$(218) 'Menghasilkan garis sudut kiri atas Print #1, Chr$(179) 'Menghasilkan garis vertikal Print #1, Chr$(192) 'Menghasilkan garis sudut kiri bawah Print #1, Chr$(191) & Chr$(217) 'Menghasilkan garis sudut kanan atas dan kanan bawah Close #1
Semoga membantu...