Forum FlexPro – 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)
  • Autor
    Beiträge
  • #12914
    Hugh NeveHugh Neve
    Teilnehmer

    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
    Anonym
    Gast

    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
    Teilnehmer

    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)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.