TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: All
from: David Breeding 72330,2051
date: 1992-10-10 23:09:09
subject: #Jump tables in C

#: 16648 S3/Languages
    10-Oct-92  23:09:09
Sb: #Jump tables in C
Fm: David Breeding 72330,2051
To: All

In "C", is there a call such that you can call a routine from a jump table? For
example, if you had an array    int *list[10], for example, then in the
program, is there a call where if you wished to execute the routine pointed to
by list[5], the program could do a "jsr ..."?
   Seems like I've seen this somewhere, but if so, I can't remember how it was
done.
   Oh, I'm referring to the CoCo version of "C".

Thanks, ....          David



There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.