Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Question
Miscellaneous
Thread ID:
00920850
Message ID:
00920850
Views:
55
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

Each section is separated 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
Map
View

Click here to load this message in the networking platform