I have an ado-file with various sub-programs. Each of the sub-programs do some things with frames, which have temporary names. How can I parse a frame from a sub-program to the calling program?
The make my point clear, here is what I thought might work:
Code:
program main
...
MakeControlFrame
frame change `s(frame)'
<do something on the frame created with MakeControlFrame>
...
end
program define MakeControlFrame, sclass
tempname thisframe
frame create `thisframe'
frame change `thisframe'
sysuse auto
sreturn local frame "`thisframe'"
endAny advice highly appreciated.
Uli
0 Response to Parsing frames between sub-programs of a program
Post a Comment