@Environment- This works but is it "supported" behaviour?

We have formula code that looks like, for instance

tOldValue := @Environment(“EVar”; “” ) ;

This succeeds in fetching the (non-blank) value of the envt vbl, and also blanking out the envt vbl, in one fell swoop. It is a good thing and it works, but should it work? Or should we recode:

tOldValue := @Environment(“EVar”) ;

@SetEnvironment(“EVar”; “” ) ;

Subject: RE: @Environment- This works but is it “supported” behaviour?

You might want to recode it for clarity, but I don’t think you’re really in any danger of the function changing at this point.