What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Error on length

Error on length
Author: Message:
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: RE: Error on length
quote:
Originally posted by Mnjul
Try use

for(i=0;i<Breaks.length;i++)

instead of

for(i=0;i<=Breaks.length;i++)


, as there's no Breaks[Breaks.length] (see, there's Break[0] to Break[Breaks.length-1], totaling to Breaks.length items);

Thanks. It seems to work now.

Okay. What I tried to do is to count number of lines and multiply it with 10 to set the height of the window.
Then I would take the number of characters in the longest line and mulitply it with about five for the width.
It doesn't seem to be a great plan.

Does anybody have an idea, how to make it smarter?
07-16-2008 03:41 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Error on length - by SnuZZer on 07-16-2008 at 02:07 PM
RE: Error on length - by Spunky on 07-16-2008 at 03:05 PM
RE: RE: Error on length - by SnuZZer on 07-16-2008 at 03:18 PM
RE: Error on length - by Mnjul on 07-16-2008 at 03:28 PM
RE: RE: Error on length - by SnuZZer on 07-16-2008 at 03:41 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On