Thanks, Luciano
My macro now looks like thus:
(Sample_Array is a word array that I'm using to store my data in).Code:TXArray var Sample_Array TXIndex var word SYSTEM TXData var word SYSTEM @TX_Sample macro index @ MOVE?WW index, TXIndex TXData = TXArray[TXIndex] Hserout [TXData / 100, TXData // 100] @ endm
This works great, and I can call it like this:
Thanks for the pointers, fellow PBPers. The only thing I couldn't do was get it to take both the array and the index as arguments.... I have to nut out the whole memory addressing thing in my head before I can get it to work.Code:@ TX_Sample _Sample




Bookmarks