Free Web Site - Free Web Space and Site Hosting - Web Hosting - Internet Store and Ecommerce Solution Provider - High Speed Internet
Search the Web

The Basic Print Statement

 

'Basic program 1
'This is a program to teach you how to program in Basic
'Liberty Basic is the programing lang that I will use.
'Program:Print
'____________________________________________________
'this is how to use the simple print statement
print "Hello world"
print "This is fun to do"
print 'We put this here to make a break in our output.
print"The time has come to and end"
gosub [wait]
print "Example 2"
'You could also do this put the print statements on one line

print "This is fun":print:print "Hello world"
gosub [wait]
goto [end]
[wait]'This is a gosub we will cover this another time
input a$
return
[end]
end 'This will end the program

just cut and copy this program into the Liberty Basic Editor and then run the program.