Global Function

 

| HOME |

Global function is a kind of stand alone function, consisting of a function name followed by a parenthesis.  In side the parenthesis are arguments, if any.  For example,

                           ->a = sin((x + y) / 0.45)

Here"sin" is a global function, whose arguments, inside the parenthesis, must be of numerical data type.  If the number of arguments or data type of the arguments are not agreeable to those predefined by the function, an error message is reported.

It is worthwhile to note that all class names are global functions, for example

                           ->A = Matrix(2,3)

Here "Matrix" is a global function, whose job is to define a Matrix object, and assigned to a variable "A".  Details of global functions that define objects are in class and class function

 

 A-D  E-F  G-H I-L M-P Q-Z
ABS EXP GETALIGN INT2STR MAX RAND
ACOS FACT GETANGLE IS_EVEN MIN ROUND
ACOSH FIND GETBLKSIZE IS_ODD NUM2MATRIX SIN
ASIN FINDIMG GETCOLORMAP IS_ZERO PI SINH
ASINH FIX GETDISTTOL JD2DATE   SQRT
ATAN   GETFORMAT LN   SRAND
ATAN2   GETFOUT LOG   TAN
ATANH   GETINTP_MODE LOG2   TANH
CEILING   GETMAGIC_NUMBER     TIF2MATRIX
COS   GETMAX_NO_ITERATE     TIME
COSH   GETMAX_NO_PLINE      
COUNT   GETNA      
DEG   GETNULL      
DMS   GETPATH      
DOUBLE2STR   GETPATHFUN      
    GETPATHPRG      
    GETPENCOLOR      
    GETPRECISION      
    GETRANDMAX      
    GETWIDTH      
    HSV2RGB      
           

| HOME