// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 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");
    }
}
