Posted 10 April 2013 - 01:41 PM
I tried to run my scrolling text program but i get and error, (string "startup" ) :12: 'then' expected
This is ts the code
This is ts the code
- local pos = 18
- ecran = peripheral.wrap("right")
- ecran.clear()
- ecran.setBackgroundColor(2)
- ecran.setTextColor(2048)
- ecran.setTextScale(5)
- while true do
- if pos==-30
- pos = 18
- end
- mon.clear()
- mon.setCursorPos(pos,1)
- mon.write("GG Inc. We Make The Best")
- pos = pos-1
- os.sleep(.15)
- end