// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import org.netrexx.process.NetRexxA;

public class EmbeddedRexx {
	public static void main(String[] args) {
		NetRexxA i = new NetRexxA();
		i.interpret("exec", "loop i=1 to 3\r\n" +
		                    "  say 'Hi from Rexx!'\r\n" +
		                    "end i\r\n");
	}
}
