例えば、VEX 用の foo.h というファイルを作り、この中に
float thrice (float a) {return a * 3;} /* 入力の3倍を返す */
#include "foo.h" @val = thrice (100.0);