#pragma message expects a string constant as its argument,
so you can use either of the following:
#pragma message "Hello World!"
#pragma message("Hello World!")
A compiler warning is issued as a result of these #pragmas.
Peter
-- Peter Ilberg
mef526 writes:
> I have some code with #pragma message() in it and it chokes CVI. I
> can't find docs for the C language that CVI uses. I found a few things
> on #pragma, but it isn't completew and it is scattered. I assume that
> since CVI choked on this pragma that it supports it in some way,
> otherwise it should ignore it. THe MSVC code alos implements this, so
> I need to resolve the conflict.