General information
Category:
Coding, syntax & commands
hi all-
I am working on this code and and need a way to a way of resetting the chapters every time a section ends
Eaxh section is seperate with a sec1, sec2, sec3, etc.. with chapters inside it.
f = FILETOSTR("family.txt")
nchap = alines(aword, f, "CHAPTER")
FOR x = 1 TO nchap
t_andcnt = OCCURS(" and ", aword[x])
? "Chapter ",x, ":", t_andcnt, "occurrences"
ENDFOR
thanks..
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only