Ask a Question related to Macromedia Director Lingo, Design and Development.
-
davis #1
chars counter
i'm sorry but that doesnt make a whole lot of sense to me. I am trying to
have it count the number of characters in an established field containing
text from a file that the user loaded.
charCounter = the number of chars in field("testDbase") -- Counts chars in
testDbase
finalSum = integer(charCounter / 368) -- Avgs sum to an integer
if charCounter > 368 then
repeat with n = n + 1 to finalSum -- Repeats creating new fields until =
finalSum
set newPage = new(#field)
set the name of newPage = "newPage" && n
put newPage -- Puts the new page into the library
end repeat
end if
this code works perfectly but now I need i need it to take the text which is
residing in an established field "testDbase" and put it into these fields
that have been created as shown in the code above. 368 characters of the
text go into each new field that is why it is calculating the number of
fields based on 368 but the problem is that i do not know how to make the
counter know where it left off from counting so that it doesnt start over
everytime. Thanks.
Davis
davis Guest
-
RFC: DBIx::Counter - persistent counter class
Hi, I've been a CPAN consumer for so long, I thought it's about time to start contributing. I wrote a little module that does exactly the same as... -
receiving ??? chars instead of "special" chars
Hello i have a strange problem i made a online catalogue and must submit orders to a remote server I need to connect to a remote webservice on ... -
Free Network Tools - Random Password Generator - Link Counter - Hit Counter
Free Network Tools - Random Password Generator - Link Counter - Hit Counter http://www.sharewareisland.com/onlinetools.asp -
hit counter or page counter
Hi, I need to have a page counter to see how many people access my website. How can this be done? In FrontPage, it's called hit counter. Thanks. -
Match min and max chars
I want to set a minimum and maximum number of characters to a field. I can't seem to get any value to get the maximum to check. On the perlretut I...



Reply With Quote

