none
Continue code to the next line. RRS feed

  • Question

  • Is there a way to continue a line of code to the next line? I have a line of code that looks like this, all one one line;

     RptFbItem = ProjectName + "~" + JobNo + "~" + qFbVendor + "~" + FbQty + "~" + FbLocation + "~" + FbItem + "~" + FbSpec1 + "~" + FbSpec2 +"~" + FbSpec3 + "~" + FbSpec4 + "~" + "Repeat " + FbRepeat + "~" + "Pattern " + FbPattern  + "~" + "Content " + FbContent + "~" + Fbsp  + "~" + fbcb1 + "~" + FbCATax + "~" + FbOc + "~" + FbFc  + "~" + Fbsprice + "~" + FbLit  + "~" + FbItemNote + "~" + FbOcNote + "~" + FbLinkItemNotes + "~" + "Per "+fbunit 
     
    Can this be put on multiple lines so I don't have to scroll to the right so far to read it?
    Wednesday, August 19, 2009 5:58 PM

Answers

  • RptFbItem = ProjectName + "~" + JobNo + "~" + qFbVendor + "~" + FbQty + "~" + FbLocation + "~" + FbItem + "~" + FbSpec1 + "~"
    RptFbItem = RptFbItem + FbSpec2 +"~" + FbSpec3 + "~" + FbSpec4 + "~" + "Repeat " + FbRepeat + "~" + "Pattern " + FbPattern
    RptFbItem = RptFbItem  + "~" + "Content " + FbContent + "~" + Fbsp  + "~" + fbcb1 + "~" + FbCATax + "~" + FbOc + "~" + FbFc  + "~"
    RptFbItem = RptFbItem + Fbsprice + "~" + FbLit  + "~" + FbItemNote + "~" + FbOcNote + "~" + FbLinkItemNotes + "~" + "Per "+fbunit
    • Marked as answer by SFC123 Wednesday, August 19, 2009 6:49 PM
    Wednesday, August 19, 2009 6:40 PM
    Moderator

All replies

  • RptFbItem = ProjectName + "~" + JobNo + "~" + qFbVendor + "~" + FbQty + "~" + FbLocation + "~" + FbItem + "~" + FbSpec1 + "~"
    RptFbItem = RptFbItem + FbSpec2 +"~" + FbSpec3 + "~" + FbSpec4 + "~" + "Repeat " + FbRepeat + "~" + "Pattern " + FbPattern
    RptFbItem = RptFbItem  + "~" + "Content " + FbContent + "~" + Fbsp  + "~" + fbcb1 + "~" + FbCATax + "~" + FbOc + "~" + FbFc  + "~"
    RptFbItem = RptFbItem + Fbsprice + "~" + FbLit  + "~" + FbItemNote + "~" + FbOcNote + "~" + FbLinkItemNotes + "~" + "Per "+fbunit
    • Marked as answer by SFC123 Wednesday, August 19, 2009 6:49 PM
    Wednesday, August 19, 2009 6:40 PM
    Moderator
  • Thanks litdev,
    I'll give it a try!
    Wednesday, August 19, 2009 6:49 PM