Technical data
LibCacheDefine
4
-17
LibCacheDefine
Purpose
Call this function from inside 
BlockTypeSetup
 to cache a 
#define
 statement.
Syntax
%<LibCacheDefine(buffer)>
Arguments
buffer
Buffer of 
#define
 statements to be cached.
Description
LibCacheDefine
 should be called from inside 
BlockTypeSetup
 to cache a 
#define
 statement. Each call to this function appends your buffer to the 
existing cache buffer. The 
#define
 statements are placed inside 
model.h
.
Example
%openfile buffer
#define INTERP(x,x1,x2,y1,y2) ( y1+((y2 - y1)/(x2 - x1))*(x-x1) )
#define this that
%closefile buffer
%<LibCacheDefine(buffer)>










