I couldn't find anywhere to write a specific document on this so i figured I'd start it here till i found out where you post this stuff.
There was this puzzling feature we needed over here at our company. We spent numerous amount of time looking for this, not getting much help on the forums, i finally figured it out and figured i'd share it. If you already knew this sorry, if not i hope this helps.
Well here's the example i used.
DO WITH FRAME {&FRAME-NAME}: DEFINE VARIABLE attach-name AS CHARACTER NO-UNDO.