Re: Commented lines are being shown compilation errors



On Dec 24, 4:51 pm, Claudio Calvelli
<qwertyu...@xxxxxxxxxxxxxxxxxxxxx> wrote:
On 2007-12-24, Ramakrishnaprasa...@xxxxxxxxx wrote:
Compilation errors:
$perl myperl.pl
String found where operator expected at line 94 , near "#printf""
(Might be a rinaway multi-line "" string starting on line 93
(Missing semicolon on previous line?)
String found where operator expected at line near "/"tdhl/"
colspan=/""
(Missing operator before "colspan=/"?)

That's likely to be a missing quote somewhere before line 93 - so the
line starting with #printf will be interpreted as inside the quote string,
the quote after the printf would be interpreted as closing quote, and
therefore give a syntax error.

You could search backwards for a double quote character starting from
line 93 - that will probably find the real error.

C

--
The address in the "From" header won't work. Email to "usenet" at "intercal" dot
"dyn-o-saur" dot "com" may or may not reach me, depending on how far it manages
to go through the spam filter, and other conditions which I won't disclose..

Hi,

Thanks!I searched the file and found a missing " somewhere in the
before line and it is working!!!

Thanks a lot.

Thanks & regards
.



Relevant Pages

  • Re: Difference between and : symbols
    ... lisp> ... You can inhibit evaluation with the special operator QUOTE. ... The specific thing that confused you is why ASDF functions ... But what ASDF really wants is a string. ...
    (comp.lang.lisp)
  • Re: fastest way to change case of string
    ... string rather than concatenating a new string is indeed much faster. ... Dim quoted As Collection ... Const QUOTE = "'" ... ChangeCaseX = StrConv ...
    (microsoft.public.vb.general.discussion)
  • MD5 Hash with single quote = grief in dao.findfirst
    ... I know when you need to create a query string and the data contains a single ... quote, you must double the quote as an escape sequence. ... Hundreds of assumption cells combined into one 16 character Hash. ... I build the criteria SQL string. ...
    (microsoft.public.access.modulesdaovba)
  • RE: VBA, and SaveAs Function
    ... The type mismatch comes about in the Str functions in your SaveAs line; ... you're passing a string to a function that expects a number. ... > I have been creating a quote module for the project managers at my lab, ... > save to a unique file, and I am up against a wall. ...
    (microsoft.public.excel.programming)
  • An MD5 Hash with a single quote = grief in SQL query
    ... I know when you need to create a query string and the data contains a single ... quote, you must double the quote as an escape sequence. ... Hundreds of assumption cells combined into one 16 character Hash. ... But if the Hash string contains a single quote, ...
    (microsoft.public.excel.programming)