Qbasicnews.com
April 03, 2020, 08:02:44 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Lines within a QuickBASIC 4.5 program  (Read 1380 times)
Ralph
Ancient Guru
****
Posts: 544


« on: May 10, 2006, 05:44:52 PM »

Hi, sometime ago, I received a program which had actual, straight single- and double-line elements, just like the IBM Extended ASCII Set box characters.  They were within the program, similar to this:
Code:

PRINT "  ___________"
PRINT"   ========="

and so on.  Except that I used the underline key and the equals key to produce the above lines.  The program had the four corners and the four side elements to form both a single and a double-line (a box within a box).  The single-line boxes also had a left T and a right T.

I am looking to see if someone can tell me how these are formed, with the idea of using other ASCII characters in that same manner, as it makes the programming much easier for me to be able to see in the program, just what I am trying to show on the screen.
Logged

Ralph, using QuickBASIC 4.5 and Windows XP Home Edition and Service Pack 2, with HP LaserJet 4L printer.
red_Marvin
Na_th_an
*****
Posts: 1509



WWW
« Reply #1 on: May 10, 2006, 06:10:03 PM »

If you bring up the QB help with F1 then choose Contents and then ascii table, you will find the ascii codes for the characters.
You can (not always) type them with holding alt and then pressing
the ascii char sequaence on the numeric keyboard or just copy/paste the char.
Logged

/post]
Ralph
Ancient Guru
****
Posts: 544


« Reply #2 on: May 10, 2006, 09:09:32 PM »

red_Marvin:

Wow!  I didn't expect to get THE answer so quick!.  The Alt+character number worked like a charm!  Thank you!
Logged

Ralph, using QuickBASIC 4.5 and Windows XP Home Edition and Service Pack 2, with HP LaserJet 4L printer.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!