Use a true record: begin record arecord dim a% dim b$ dim c as rect end record clear local local fn test(r as pointer to arecord) r.a%=45 r.b$="testing 1.2.3" r.c.top=5 r.c.left=2 'etc. end fn dim r as arecord fn test(r) print r.a% print r.b$ print r.c.top print r.c.left do until mouse(_down) --Steve On 5/24/00 11:59 PM, Martin Fitzgibbons at d8171hn1@... wrote: > How can you return more than one variable from a local fn? > > Sending > > lucky = fn testing(a,b) > > is ok for sending 2 and returning 1 but how do I get more than 1 value > back? > > Martin > > > -- > To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>