Tony I did not see original post but your code is wrong by the following ; pointer table MENU_PTR_TABLE DW MENU0 ;one word DW MENU1 ;one word ;now you are using arrays? or at least two values low/high ; pointer table MENU_PTR_TABLE DW LOW(MENU0),HIGH(MENU0) ;Array two words [low(memu0,high(menu)] DW LOW(MENU1),HIGH(MENU1) ;Array two words Please forgive if I have it wrong I blame the beer FullTank Re: GARDS Art. ----- Original Message ----- From: K|bek Tony To: Sent: Wednesday, December 27, 2000 1:48 AM Subject: Re:[PIC]: Argument(life?) is to complex...... Hi, as I assumed no replys, strange quite a few people on the list advocates re-locatable code yet I still haven't received one single reply on any of the 're-locatable' questions I've posted. Anyway following up on my last question why this does not work: ; pointer table ( does not compile in re-locatable code ) MENU_PTR_TABLE DW LOW(MENU0),HIGH(MENU0) DW LOW(MENU1),HIGH(MENU1) I've found ( as I suspected a *very* easy mplab struggle :) ) that this indeed does work: ; pointer table ( does compile ! and work in re-locatable code ) MENU_PTR_TABLE DW MENU0 DW MENU1 Figures right ? beats me. It works now so I'l leave it at that. Happy new years fellow picsters, /Tony Tony K|bek, Flintab AB 222222222222222222222222222222222222222222222222222222222222 E-mail: tony.kubek@flintab.com 222222222222222222222222222222222222222222222222222222222222 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu