Submitted by Niels Liisberg on Mon, 12/12/2016 - 16:23
Forums

Have you ever made a SQL string in RPGLE that spans over many lines - and did you miss a quote or two?

Now it is more easy to produce long string assignments over multiple lines.

A multiline constant in IceBreak start with (" and is terminated by a "). Multiline constants also allows you to concatenate variables and expression into the string simply by using a marker designated by a $. If you are using more complex expression then you can surround the marker by curly bracket.

This feature makes is more easy to cut/paste between external editor, validator and environments like SQL prompt / jsonlint etc.

Screenshot

Best regards,

Niels Liisberg