Never used *.wcs before, found this strange error:
this source:
<!doctype html><html><head><title>OFUG, client static, server dynamic</title><styletype="text/css"> body {font-family: verdana;} /* document-level directive, applies to any contained element */ h1 {font-weight: bold;} /* header level 1 directive */ p.OFUG {font-style: italic;} /* directive for paragraph(s) having class="* OFUG *" */ h2{font-type:none;}</style></head><body><h1>My First Heading</h1><pid="par1">My first paragraph <b>with server Date-time: <%= DateTime()%></b>.</p><% SELECT TOP 3 *; from tastrade!customer; order by company_name; into cursor query scan %><p>- <%=trim(company_name)%></p><% endscan use %><p>My second paragraph.</p><p>My third paragraph.</p></body></html>
converts into:
LOCAL CRLF CRLF = CHR(13) + CHR(10) _out = [] Response.Write([<!doctype html>]+ CRLF +;[<html>]+ CRLF +;[ <head>]+ CRLF +;[ <title>OFUG, client static, server dynamic</title>]+ CRLF +;[ <style type="text/css">]+ CRLF +;[ body {font-family: verdana;} /* document-level directive, applies to any ] + ;[contained element */]+ CRLF +;[ h1 {font-weight: bold;} /* header level 1 directive */]+ CRLF +;[ p.OFUG {font-style: italic;} /* directive for paragraph(s) having class="* ] + ;[OFUG *" */]+ CRLF +;[ h2{font-type:none;}]+ CRLF +;[ </style>] + CRLF ) Response.Write([ </head>]+ CRLF +;[ <body>]+ CRLF +;[ <h1>My First Heading</h1>]+ CRLF +;[ <p id="par1">My first paragraph <b>with server Date-time: ]) Response.Write(TRANSFORM( EVALUATE([ DateTime()]) )) Response.Write([</b>.</p> ]) && /!\ syntax errorSELECTTOP 3 *;from tastrade!customer;order by company_name; into cursorqueryscan Response.Write([<p>- ]) && /!\ syntax error Response.Write(TRANSFORM( EVALUATE([trim(company_name)]) )) Response.Write([</p> ]) && /!\ syntax errorendscan use Response.Write([<p>My second paragraph.</p><p>My third paragraph.</p></body></html>]) && /!\ syntax error
any clue?