delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/16/01:00:03

To: djgpp AT delorie DOT com
Subject: Array of Functions
Message-ID: <19970715.215516.5183.0.chambers.ben@juno.com>
From: chambers DOT ben AT juno DOT com (Benjamin D Chambers)
Date: Wed, 16 Jul 1997 00:54:35 EDT

Recently (today), I tried to set up an array of functions to process data
(This way, I can just call a function from an array, using the data type
ID as an index into the array, and have it processed appropriately). 
Unfortunatley, djgpp doesn't seem to like this.  Specifically, it gave me
the error:
fe.c(10): declaration of 'Element_Functions' as array of functions,

and died on me.  Does anyone have thoughts about how to solve this?
Thanx in advance,

...Chambers

(PS Please reply to me personally, as I had to leave the mailing list due
to lack of time to read so many messages a day :( )

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019