karthik555
IS-IT--Management
Hello!
I have a server side array (VBScript). I pass data from this Server side array to a client side array
If the string in the Server side array is long (say beyond 50 chars long) then I get this error
---------------------------
Error
---------------------------
A Runtime Error has occurred.
Do you wish to Debug?
Line: 1590
Error: Unterminated string constant
---------------------------
Yes No
---------------------------
When I View Source of the ASP Page, in the line reported I see this
arrCMlt(26, 6) = "FLIGHT AUGMENTATION (FAC)
OPERATIONAL CHECK OF AU"
The string written has wrapped into next line (may be because it is too long) which results in the above error.
How do I prevent the text from wrapping?
Thanks in advance
Karthik
I have a server side array (VBScript). I pass data from this Server side array to a client side array
Code:
<SCRIPT LANGUAGE=vbscript>
<%
For intRow = 1 to Ubound(arrMlt,1)
For intCol = 1 to UBound(arrMlt,2)
%>
arrCMlt(<%=intRow%>, <%=intCol%>) = "<%=arrMlt(intRow, intCol)%>"
<%
Next 'intCol
Next 'intRow
%>
</VBSCRIPT>
If the string in the Server side array is long (say beyond 50 chars long) then I get this error
---------------------------
Error
---------------------------
A Runtime Error has occurred.
Do you wish to Debug?
Line: 1590
Error: Unterminated string constant
---------------------------
Yes No
---------------------------
When I View Source of the ASP Page, in the line reported I see this
arrCMlt(26, 6) = "FLIGHT AUGMENTATION (FAC)
OPERATIONAL CHECK OF AU"
The string written has wrapped into next line (may be because it is too long) which results in the above error.
How do I prevent the text from wrapping?
Thanks in advance
Karthik