The following sample code prints all environment variables:
i=0 do e$ = environ(i) if IsDefined(e$) then print e$ print endif i = i + 1 loop while IsDefined(e$)