#LATTICE_C_4.0
2 messages in this thread
While you're patching the program, you might want to "patch" the documentation
as well! I'll second somebody else's comment about there being problems with
the documentation. Interesting that "open" is documented under "nofill". It
would also be nice to have an concise statement of what the default options
REALLY are.
As an aside, I KNOW it's my fault and I KNOW I should watch my upper-lower
case, but it took me a couple of hours to find a bug in a program of mine that
was simply that I typed "wait(…" instead of "Wait(…". There probably isn't
a solution from your point of view, but I thought I'd throw it in.
Actually, there is a simple solution to the Wait( vs wait( dilemma that should
help catch problems some of the time – use prototypes. I ALWAYS compile my
code with the -cf option to force the compiler to scream whenever I call a
function without a prototype. Since most of the functions that have the same
name in upper vs lower case take vastly different parameter, I get a prototype
mismatch when I use the wrong function. It is a great time saver. For
completeness, my general compiler options for most programs is:
LC -cwusf -d -v xxx.c
I understand about the documentation and will pass on the comments. Nofill for
open happened all because of a missing period. .nofill is a command to the
text formatter used to put the manual together.