writeline problem

Results 1 to 2 of 2

Thread: writeline problem

  1. #1
    Join Date
    Dec 1969

    Default writeline problem

    Ok im making a page to create pages automatically based on a few inputs, my very first code to write the page is<BR>objcreatefile.writeline ("&#060;%@ Language=""VBScript"" %&#062;")<BR>whenever i run the code it comes back <BR><BR>Microsoft VBScript compilation error &#039;800a0409&#039; <BR><BR>Unterminated string constant <BR><BR>/createenter.asp, line 36 <BR><BR>objcreatefile.writeline ("&#060;%@ Language=""VBScript""<BR>---------------------------------------------------^<BR><BR> i even tried putting<BR>objcreatefile.writeline ("&#060;%@ Language=""VBScript"" %" & "&#062;")<BR>but then the page it creates doesn&#039;t read those as actual %&#062; it doesn&#039;t seem to read &#060;% or %&#062; as they are supposed to start the code, it just comes out in the source code like background html. How can i fix this?<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default break up the delimiters

    s = "&#060;" & "%"<BR>e = "%" & "&#062;"<BR><BR>objStream.write(s & "@Language=""VBScript""" & e)<BR><BR><BR><BR>j<BR>http://www.infinitemonkeys.ws/<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts