[comp.lang.c] indirection

John.Tucker@blkcat.fidonet.org (John Tucker) (02/08/90)

I and a friend have worked out code whereby we use the Paradox DBMS 
report writer to generate a hundred or so similar functions, and a main 
routine which goes to a lookup table with an input variable and pulls out 
of it the name and index of the proper function to use.  There's a tricky 
little way to store the address of a function in a pointer array that's a 
little different than storing data items.  The whole thing seems to work 
ok and saves us, and the machine, a whole lot of time.  I'd be interested 
if anyone else is working on techniques like this.  I have no problem 
sharing but I'd rather trade.



--  

	John Tucker at The Black Cat's Shack (Fidonet 1:109/401)
	Internet:  John.Tucker@blkcat.fidonet.org    
	UUCP:      ...!uunet!blkcat!John.Tucker