> > I find assigning register vars before the FN statement to be a nifty > > shorthand. The other way to do it would be this: > > > > REGISTER OFF > > local fn test(addr1 as ptr,addr2&)'These are RAM vars > > REGISTER ON > > dim r1,r2,r3,r4,r5,r6,r7,r8'Fill up registers > > > > Apparently the compiler assigns registers in the order it encounters > > eligible vars. > >Really? Staz, is this how it is meant to be? I always thought the function >parameters were assigned to the registers preferentially even if you had >local vars defined beforehand. > >-- I just ran this code thru the source debugger and it is indeed true. I'll be durned. Best, -STAZ ~)~ 800.348.2623 Orders http://www.stazsoftware.com 228.255.7086 FAX mailto:staz@...