Shop OBEX P1 Docs P2 Docs Learn Events
Line continuation character — Parallax Forums

Line continuation character

Paul MPaul M Posts: 95
edited 2007-12-12 14:33 in Propeller 1
Quick question:
Is there a line continuation character for long lines?

If not, how do I declare a data table with say 200+ elements?

DAT
Table byte 0, 1, 2, 3, 4, 5 ................................


Paul

Comments

  • BaggersBaggers Posts: 3,019
    edited 2007-12-12 14:22
    dat 
    Table byte 0, 1, 2, 3, 4, 5
       byte 6,7,8,9,10
       byte 11,12,13,14
    
    



    just do it on the next line [noparse]:)[/noparse]
  • Mike GreenMike Green Posts: 23,101
    edited 2007-12-12 14:28
    You can also "comment out" the end of line with {} by putting the opening brace on one line and the closing one on the next line, like:
    ... stuff ... {
    } ... more stuff ...
    
    
  • Paul MPaul M Posts: 95
    edited 2007-12-12 14:33
    Thanks!
Sign In or Register to comment.