File: print.bas - Tab length: 1 2 4 8 - Lines: on off - No wrap: on off

' Welcome to the file dummies.bas for Raptor Basic +
' As you seen there is a black screen when you build it
' it's because you're not a great coder !
'
' All lessons in the same file... One day ; One fart ; One file
'
'
' So where is the code ?
'' start here !
''' comments
' < one " ' " it's the code !
''' comments
''
'
'
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''Lesson 1''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'
' At the first you need to know what is the basic !
'
' 1864: Thomas Blanchard a distinguished inventor, especially noted
' for his lathe for turning irregular forms died at Boston, Mass.
' A century later 1964 : The original BASIC language was designed on May 1st
' by John Kemeny and Thomas Kurtz and implemented by a team of Dartmouth
' students under their direction. The acronym BASIC comes from the name
' of an unpublished paper by Thomas Kurtz. BASIC was designed to allow
' students to write mainframe computer programs for the Dartmouth
' Time-Sharing System. It was intended specifically for less technical
' users who did not have or want the mathematical background previously
' expected. Being able to use a computer to support teaching and research
' was quite novel at the time.
'
' Remember the real name of the college is Dartmouth and not Fartmouth !
' Seems there is no common between Basic and Thomas Blanchard.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'
' Simple program displaying " Hello Jagworld " :
'
''
''' 8x8 police size :
basic_r_indx=0
''' color red :
basic_r_size=1
''' near the middle of the screen :
rlocate 100,112
''' display the text on the screen :
rprint "Hello Jagworld"
'''
''
'
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'
'
'
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''Lesson 2''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'
' without variables coding something good is impossible
' dim is what we need !
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'dim a
'a=1




''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''Lesson 42,5'''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'dim paddy as int
'dim a
'dim b
'basic_r_indx=0
'basic_r_size=0
'paddy=32
'a=5
'b=10
'RLOCATE 15,10
'RPRINT "JHL 15 is the best hockey game !"

'RLOCATE 80,35
'print a+b
'rlocate 10,50
'print " Fart ! ",paddy,"abcdefghijklmntuvwxyz",123.237462376
'RLOCATE 30,100
'RPRINT "Press joypad stuff and see numbers!"
'RLOCATE 10,120
'do
'   paddy=getpad(1)
'   if paddy<>0 then
'       RPRINTINT paddy
'   endif
'   rupdall(0)
'loop