Skip navigation

Account settings

Topic

Breaking FP Script across lines

Home page Community FPScript Breaking FP Script across lines

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33625
    Anonym
    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

    #33626
    Hugh 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

    #33627
    Bernhard 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:

    [code]
    Dim result = List(_
    “I”, 42, _
    “II”, 1093, _
    “III”, 2.718, _
    “IV”, “Hello world!” _
    )
    [/code]

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.