Forum FlexPro – Discuss your topic!

Breaking FP Script across lines

Home > Community > FPScript > Breaking FP Script across lines

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • 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!" _
    )
    
Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.