Thanks Doug. No, what I want is what you can do in basic with a go-sub where all your code is in one command file. What I can't resolve is how to return to the calling line. I just posted my code.
> -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doug > Hamilton > Sent: Saturday, February 26, 2005 11:38 AM > To: RBG7-L Mailing List > Subject: [RBG7-L] - Re: Subroutines in command files - Correction > > oops, $Command first should be on two lines: > > $Command > first > > (Wish I could catch my errors that quickly in my work) > Doug > > Doug Hamilton wrote: > > > Do you mean subroutines that can be called from another command file, > > as in: RUN First IN BigFile.APX. > > If yes then: > > ASCII app file should look like: > > > > $Command first > > Do 1 > > Do 2 > > Return > > $Command second > > Cursor loop > > Do 3 > > Do 4 > > --Goto first RUN First in BigFile.APX > > End loop > > Return > > > > Then use Codelock to convert the ASCII app file to a binary procedure > > file. > > Else > > Need more info :) > > Endif > > > > Doug > > > > Claudine Robbins wrote: > > > >> Hi all, > >> > >> I want to imbed some subroutines in a command file. > >> > >> Label first > >> Do 1 > >> Do 2 > >> Return ???? - doesn't work... > >> > >> Label second > >> Cursor loop > >> Do 3 > >> Do 4 > >> Goto first End loop > >> Return > >> > >> I can't find any documentation. I can do run labelfirst.rmd but I > >> really > >> wanted to put all the code in one file. > >> > >> TIA, Claudine > >> > >> > >> > >> > > > >
