Hello,

On 2017-02-14 23:52, Bart Smissaert wrote:
I tried both with and without that backslash.

``That backslash''? Did you mean ``Those backslashes''?

In the first post you mentioned that the problem concerned ``while'', however in the response to DRH, the first error appeared at ``if''.

1. ``while'' -- you had backslash at the end of the first line: error was caused by a statement ``while'' out of a function, and you should receive an additional syntax error at the first closing ``}'' after ``while''.

2. ``if'' -- you had no backslashes: error was caused by a statement ``if'' out of a function, and you received an additional syntax error at final closing ``}'' (the first closing ``}'' was paired with opening ``{'' after ``if'').

All lines but the last one (containing final ``}'') of the macro must be ended with ``\'' and a newline. Make sure that newline immediately follows a backslash, because \<space><newline> is not recognized as a line continuation. A splicing physical lines to establish logical ones is done at the very early stage of translation, even before spaces/comments are removed.

-- best regards

Cezary H. Noweta
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to