Solved

Compiler limit exceeded: Line cannot exceed 2046 characters

Posted on 2008-06-13
1
515 Views
Last Modified: 2013-11-07
I have a long array, how can I get by this error?
0
Comment
Question by:JPERKS1985
1 Comment
 
LVL 18

Accepted Solution

by:
Gary Davis earned 500 total points
Comment Utility
Break the line like this (C# version):

string longString = "some text some text some text some text " +
"some text some text some text some text " +
"some text some text some text some text " +
"some text some text some text some text ";


Gary Davis
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now