Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon.clear() --# surely you don't want to clear after each line is written!
- for i = 1, #tbl do
- mon.setCursorPos( 1, 1 + i ) --#add i (which increments by one each loop) to the y value
- mon.write( tbl[ i ].display_name ) --#write the name of the current item to the monitor
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement