Re: Code assistance



ladybug via AccessMonster.com wrote:

It is a copy/paste. I put the space and underscore in and now it highlights
the two lines and says Compile error: Syntax error.


It should also hightlight the portion of the line that the
compiler thinks is a problem. Be sure to use the Debug menu
- Compile option instead of just running something that
invokes the code.

As far as I can see, there was no syntax error beyond the
missing space underscore. Did you make any other changes.
It would probably help if you posted a Copy/Paste of what
you currently have.

--
Marsh
MVP [MS Access]
.



Relevant Pages

  • Re: MATLAB Compiler 4.6 Problems
    ... When I try to compile a file from MATLAB into a stand alone C++ ... 146 syntax error; found `void' expecting `;' ... Error libmatrix.cpp: 147 illegal statement termination ...
    (comp.soft-sys.matlab)
  • Re: C scripting (continued)
    ... The code will compile and run under windows and unix... ... And fix the memory leak that you ... This is a syntax error. ... A program that introduces syntax errors when it re-formats code ...
    (comp.lang.c)
  • Re: lcc-win32 conformance question
    ... If I compile this program ... return 0; // foo bar baz ... there is nothing in the C89 standard that explicitly ... Yes, the cited example is just a syntax error, but we have no idea ...
    (comp.lang.c)
  • Re: Problem executing macros from global template
    ... use Tools> Compile and it will take you to the ... syntax error. ... Steve Hudson - Word Heretic ... It works before saving it as a template. ...
    (microsoft.public.word.vba.general)
  • Re: do { } while (0) question
    ... How do you want to define KILLER, ... Does it compile? ... The empty 'do while ' makes the missing semicolon a syntax error. ...
    (Linux-Kernel)