FlexPro Forum – Discuss Your Topic!

Breaking FP Script across lines

Home > Community > FPScript > Breaking FP Script across lines

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12914
    Hugh NeveHugh Neve
    Participant

    Hello,

    I wondered whether it is possible to break FPScript code across lines?

    This would help with formatting and where formulas get quite long.

    Many thanks,

    Hugh

    #8573
    Anonymous
    Guest

    Hello,

    I wondered whether it is possible to break FPScript code across lines?

    This would help with formatting and where formulas get quite long.

    Many thanks,

    Hugh

    #12915
    Bernhard KantzBernhard Kantz
    Participant

    One can split a line of FPScript code by using a underscore ‘_’ or backslash ‘\’ character at the end of a line like in the following example:

    
    Dim result = List(_
    "I", 42, _
    "II", 1093, _
    "III", 2.718, _
    "IV", "Hello world!" _
    )
    
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.