Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!ncar!husc6!mit-eddie!mit-amt!phil From: phil@mit-amt.MEDIA.MIT.EDU (Phil Sohn) Newsgroups: comp.sys.mac.programmer Subject: Arrays of functions in THINK C Keywords: Why does this not work? Message-ID: <2884@mit-amt.MEDIA.MIT.EDU> Date: 2 Aug 88 18:38:18 GMT Organization: MIT Media Lab, Cambridge, MA Lines: 16 typedef int (*GEN)(); int gen01(); GEN gensub[10]= {NULL, gen01} gensub[1](); <- compiler produces an error here Anyone see what I am doing wrong? I believe it is a bug in THINK C (including 3.0) because it works on Vaxes, HPs, Suns, and in MPW. Does Anyone know a good way to do the samething in THINK C? phil@ems.media.mit.edu