Troubleshooting

Number of characters limited in scripts?

Started by alexbausw on .

Sign in or create an account to join the conversation.

5 posts

Topic starter
Hello all,

I have the problem, that i could not enter more than about 4015 characters (incl. space and tab) in the editors script window. Is this a limitation in Lemur 4 itself or in the editor for windows 7?

best regards
Alex
Yes

Look for sections of code that are repeated in different places and move them to a separate script that gets called and fed the necessary parameters . . .
Think more object-oriented / classes etc separating responsibility for different things etc

What are you doing that requires such a large monolithic script?

MM
alexbausw wrote:Hello Macciza

Thank you for your answer.
So a workaround could be to split code into two scripts and call the second from the first one. :)

greetings
Alex
Yes, that would work, but every time you say that, god makes a programmer commit suicide. Please think of the other programmers!

You'll do yourself a much bigger favor by taking Macciza's advice and looking for duplicate blocks of code, and breaking them out into functions and so forth.