To set the counter for ALink keyword list variable $$ALinkKeys to zero at the beginning of each FrameMaker file:
The [ALinkButton] macro (see §9.7.5.4 Building an ALink button object from an ALink keyword list) sets Nkeys back to zero again after finishing each button, to re-initialize Nkeys for the next topic.
§9.7.5.1 Creating a list of ALink keywords from paragraphs
§9.7.5.2 Creating a list of ALink keywords from markers
§9.7.5.3 Initializing the ALink keyword list counter