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 LN   SQRT
ATAN   GETFORMAT LOG   SRAND
ATAN2   GETFOUT LOG2   TAN
ATANH   GETINTP_MODE     TANH
CEILING   GETMAGIC_NUMBER     TIF2MATRIX
COS   GETMAX_NO_ITERATE     TIME
COSH   GETMAX_NO_PLINE      
COUNT   GETNA      
DEG   GETNULL      
DFACT   GETPATH      
DMS   GETPATHFUN      
DOUBLE2STR   GETPATHPRG      
    GETPENCOLOR      
    GETPENWIDTH      
    GETPRECISION      
    GETRANDMAX      
    GETWIDTH      
           

| HOME