Posts

Showing posts with the label Function: Call Sortn

Function: Call Sortn

Image
 Function: Call Sortn Purpose: To sort the values of its numeric argument in ascending order. Syntax :  CALL SORTN(<of> Vaar-1 <,  ... Var-n>)               Var-n  is a numeric variable. If you use a variable list in the form VAR1-Varn,                               precede   the list with  the word "of".               Arguments to the CALL SORTN routine cannot be constants. You may use   array                    references as   arguments to this routine as well (see the following examples)    Examples For these examples, x1=8, x2=2, x3=., x4=1, a=9, b=7, c=8. Also, an array is defined as array nums[4] x1-x4;        Call Routine                  ...