JavaScript

Modules and Namespaces

//Store all my libraries under the directory/namespace jmvidal.
var jmvidal; 
if (!jmvidal) jmvidal = {};
//define my Lib590 library
jmvidal.Lib590 = {};
jmvidal.Lib590.myfun1 = function (x) {
        //code here
};
jmvidal.Lib590.myfun2 = function (x) {
        //code here
}

José M. Vidal .

64 of 65