> FrAid
 

Extending FrAid with your own FrAid functions

Extending with your own functions.

You can allways extend FrAid with your own FrAid functions. These are the steps required:

  • Create a text file containing the FrAid definitions you want loaded.
    Example file - myFun.frd
    f(x) = if isNextIntEven(x) then 1 else -1;
  • There are two ways to load them in FrAid
    • Using the -load command line parameter when you start FrAid.
      Example
      fraid.sh -load myFun.frd
    • Using the load("filename") function.
      Example - after you run FrAid
      load("myFun.frd");