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