Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!mhuxl!ulysses!allegra!mit-eddie!genrad!decvax!ittvax!dcdwest!sdcsvax!sdcrdcf!hplabs!sri-unix!WAGREICH@BBNA.ARPA From: WAGREICH@BBNA.ARPA Newsgroups: net.lang.c Subject: Example of calling functions via jump tables? Message-ID: <13276@sri-arpa.UUCP> Date: Fri, 7-Sep-84 16:11:00 EDT Article-I.D.: sri-arpa.13276 Posted: Fri Sep 7 16:11:00 1984 Date-Received: Thu, 13-Sep-84 08:31:40 EDT Lines: 8 Could someone give me a small C example of how to declare (addresses of) functions in a jump table and how to use a jump table to call a function? I would prefer an actual example to a verbal explanation, or a pointer to a C program that uses this technique. Thanks.