[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using xt's
From: |
Patrick Fitzpatrick |
Subject: |
Using xt's |
Date: |
Fri, 16 Feb 2024 11:48:19 -0600 |
Hi gang,
;
I haven't used execution tokens in many years (F-83 timeframe).
What I want to do is build a jump table like this:
create t 5 allot
: t1 ." t1" cr
: t2 ." t2 " cr ;
' t1 t 0 + !
' t2 t 1 + !
Then to execute t2, I would:
t 1 + @ execute
Is this correct?
Tia,
--
Fitz
Cell: +1 (602) 803-7695
http://www.linkedin.com/in/fitzfitzpatrick
- Using xt's,
Patrick Fitzpatrick <=