Making a "for release only" equivalent in 6G60?

The use case here is:

I have a table with many rows, for flavor text. It is shuffled randomly in release mode. But in debug mode I want to test that it works and also that there is the appropriate looping text at the end. I have a counter that increments so you can

choose row counter in table of random stuff;
say "[mytext entry]";
increment counter;
if counter > number of rows in table of random stuff:
    say "You've seen everything, but I'll loop again."
    now counter is 1;

So I would like to have

section my table

table of random stuff
mytext
"a"
"b"
"c"
"d"

section my table - For Release Only

table of random stuff
mytext
"e"
"f"
"g"
"h"

Is there a way to do this in earlier versions of Inform 7 e.g. 6G60?

My workaround is to set the counter to (# of rows - 4) with a not-for-release test command (e.g. “tableend”) and then just activate the random text 4 times to verify the looping text. Which works well.

But I thought I’d ask for more if it was there.

(Yes, another workaround is to install a later version of Inform. But that bloats the binary, I like the ability to create zblorbs–it helps me control my project size by keeping things as zblorbs, which I think I need to do. And a gblorb binary is slower to test.)

Not easily. The easiest way to do it is to do something like…

Chapter 1 - Whatever

Section A - For Release

Anything in here will only apply on release.

Chapter 2 - Replacements (not for release)

Section A - Not For Release (in place of Section A - For Release in whatever source file)

This will replace the previous section if not for release.

This is the situation where the “not for release” modifier was added early in Inform’s history, but the “for release only” modifier was added fairly late. Right?

(I actually don’t remember…)

Yep, exactly that. And it was added specifically for situations like this.