Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

TI Source: Output(
 
 Path: Home - Basic - Output(    
  Basic    Assembly    Interactive    Miscellaneous    Members  

  Guide    Glossary    Programs  
 Output(By Justin 

Using the Disp command, you have very little control of where the text appears on the screen. If you want to place text at a certain point you must use the Output( command. Here is how it works:

Output( displays text ,or the value of a vairable, on the home screen. To control where it appears, you tell it what row and column to begin writing the text at. So, if you want to display the word "HELLO" in the middle of the screen you would do this:

Breakdown of code:

ClrHome
Clear the home screen.
Output(5,7,"HELLO")
Display the text "HELLO" on row 5 and column 7.

Program output:

Note: There are 8 rows and 16 columns.

 Downloads:
TitleDescriptionAuthor
ouput.zipDisplay "HELLO."Justin

  Basic    Assembly    Interactive    Miscellaneous    Members