Dan, That makes sense. Something was nagging me from the back of the brain; I think that I was getting confused between the CALL and SUBR statements.
I often used the SUBR function within UniBasic as it can be interchanged with FUNCTION definitions etc; which enables a write-once, use everywhere approach (within UniBasic, derived fields, and in SB+ via some small wrapper code). It took me a while to find it - in the UniVerse Basic Reference manual, the use of SUBR does not require a catalog if the called routine is in the same object file as the calling routine. Interestingly enough, this is also implied in the SUBROUTINE documentation. Dan McGrath-2 wrote: > > David, > > I just tested it and it doesn't. If it isn't catalogued it doesn't find > it, regardless of whether or not the object code is in the same > directory. > > -----Original Message----- > > Does it not check within the same BP file as the calling routine first; > as cataloging is not then necessary? > > > > ----- Learn and Do Excel and Share http://mvdbs.com http://mvdbs.com -- View this message in context: http://old.nabble.com/Does-UV-have-a-%22BLOCK%22-command-tp30867376p30882672.html Sent from the U2 - Users mailing list archive at Nabble.com. _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
