Vely logo install | documentation | examples | changelog
16.10.0 released May 10, 2023
Dot

Purpose: Write a single line of C code when conflicting with Vely code.

.<C code>;

If Vely code conflicts with C code, you can use the dot (".") statement to write a single line of C code - so each line of such code must be prefixed with  "." (a dot). Note there doesn't have to be a space after the dot.
Examples
In this case, valid C expression exec-sql would be confused for "exec-sql" Vely statement:
num exec = 3;
num sql = 2;
printf ("%lld\n",
exec-sql);

You can simply prefix the offending code with the dot:
num exec = 3;
num sql = 2;
printf ("%lld\n",
.exec-sql);

See also
Language ( dot   inline_code   statement_APIs   syntax_highlighting   unused-var  )  SEE ALL (documentation)


Copyright (c) 2017-2023 Dasoftver LLC