The Java interface / Advanced programming |
StringBuffer sb = new StringBuffer; sb.append("abc"); -- returns a new StringBuffer object but is ignored
IMPORT JAVA java.util.lang.StringBuffer MAIN DEFINE sb StringBuffer LET sb = StringBuffer.create() LET sb = sb.append("abc") CALL sb.append("def") -- typical usage END MAIN