' String Concat — & operator for string joining
#COMPILE EXE
#DIM ALL

FUNCTION PBMAIN() AS LONG
    LOCAL first AS STRING
    LOCAL last AS STRING
    LOCAL city AS STRING

    first = "John"
    last = "Doe"
    city = "New York"

    PRINT "first  = " + first
    PRINT "last   = " + last
    PRINT "city   = " + city
    PRINT STRING$(40, 45)
    PRINT
    PRINT "Full name   : " + first & " " & last
    PRINT "Full name   : " & first & " " & last
    PRINT "Location    : " & city & ", USA"
    PRINT "Merged      : " & first & " " & last & " from " & city

    FUNCTION = 0
END FUNCTION
