next up previous
Next: Unsupported functions. Up: Common problems Previous: Meta-commands.

Automatic concatenation in print functions.

Some functions support automatic concatenation. For example, print("x="x) is a valid GP statement where the string "x=" and the value of x are concatenated. There is no operators that mark the concatenation operation, this is why it is called automatic concatenation.

This feature is broken with GP itself, though of course it works for the usual usages. GP 2.2.4 use an less broken but incompatible algorithm, which still give exact same result in the usual cases.

This is not currently supported by GP2C, although there is an alternative experimental gp2c version (the newparser branch in the gp2c CVS) that support it as GP 2.2.4 do.

To work around this problem, either



Bill Allombert 2002-11-04