Advertisement
Guest User

idk

a guest
Apr 29th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. mon.clear() --# surely you don't want to clear after each line is written!
  2. for i = 1, #tbl do
  3. mon.setCursorPos( 1, 1 + i ) --#add i (which increments by one each loop) to the y value
  4. mon.write( tbl[ i ].display_name ) --#write the name of the current item to the monitor
  5. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement