Subroutine or program?

Yes, that’s exactly what it was. I did some experimenting and realised the relationship.

It was the faulty way I was perceiving STELCOR that caused me ‘code blindness’! Hahaha!