« Return to the main article
Here is a slight modification/addition to John?s code. This shows the user which page they are on by disabling the current link.
Replace the last line with these three lines:
outputHTML := @Text(""+ @Implode(sGroups : sAll;" | ")+ ""); currentLink := @MiddleBack(outputHTML; ">" + sStartNum + " -" ; "<a"); @ReplaceSubstring( outputHTML ; currentLink ; "")
I am sure this could be done in just one line, but I prefer the readability of having it in three.
Here is a slight modification/addition to John?s code. This shows the user which page they are on by disabling the current link.
Replace the last line with these three lines:
outputHTML := @Text(""+ @Implode(sGroups : sAll;" | ")+ ""); currentLink := @MiddleBack(outputHTML; ">" + sStartNum + " -" ; "<a"); @ReplaceSubstring( outputHTML ; currentLink ; "")
I am sure this could be done in just one line, but I prefer the readability of having it in three.