User-defined script functions

RAMP-NL

User-defined script functions


You can define your own JavaScript functions to be used in different RAMP scripts by editing a special JavaScript file UF_SY120.JS in the partition execute directory and creating your own functions based on function UF_MY_FUNCTION.

Note that the file names start with "U", not with "V".

You can edit this file with any editor or use the button at the top of the RAMP tools window to edit via NOTEPAD.  

Your RAMP scripts will then be able to use the JavaScript functions you define.

If you are using RAMP in a web browser application, you will need to save uf_sy120.js to your web server.

To do this, select Current RAMP Design Details or Shipped system and demonstration objects options when you are saving the Framework on the web server.