> Hi Friends,
Hi Mitesh
> I am having one question is that, how much time we can give
> repeat loop example : repeat with p = 1 to 100000
>
> end repeat
This will take a long time. No, a really long time. Try this test.
Make a field member. Call it "Test".
Now put this function in a movie script.
on fillText
repeat with i=1 to 100000
put i & RETURN after member "Test"
end repeat
end
That will add one line for each number, 1 to 100000 to the field member.
Call fillText() from the message window and go take a really long walk.
>
> i want to run repeat loop up to 100000 time & one question is
> that also how much line we can give to text field (up to 100000 line).
>
I think the limit would be more based on disk space and free memory more
than anything else. You could probably put 100000 lines of text in a
field member, (unless of course it's based on maxInt then you'd be at
65536) but why would you want to?
With this much data, I would recommend using a database. You could keep
all that data external to the program, and not worry about putting it in
field members or saving it out to text files. It will be infinitely
faster and more powerful.
Check out Valentina from Paradigma Software
(http://www.paradigmasoft.com) or V12 from Integration New Media
(http://http://www.integration.qc.ca/). They are both pretty easy to
learn, and there are tutorials and examples on both of their sites.
Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]