The StringBuffer class / Examples |
MAIN DEFINE buf base.StringBuffer LET buf = base.StringBuffer.create() CALL buf.append("abc") DISPLAY buf.toString() CALL buf.append("def") DISPLAY buf.toString() CALL buf.append(123456) DISPLAY buf.toString() END MAIN
abc abcdef abcdef123456