Home | About SQeeL | Document | DownLoad | Mail Japanese
Home > Document > SQeeL Reference
A B C D E F G H I J L M N O P R S T U X Y  

J

  • Built-in variable
  • Built-in function
  • JOB
    Description
    Name of the file that is currently executed (except extention)
    Read / Write
    r
    Type
    string
    initial value
    undefined
    Top‚Ö
    join()
    Description
    Joins the separate strings (all elements of ARRAY) into a single string and returns it
    You can insert a delimiter (DELIM) between strings.
    Syntax
    ret = join(delim,array)
    Parameters
    delim:Delimiter
    array:Array
    Return Value
    NULL:Error or associative character string
    string:Associative character string
    System Return Value
    ERROR
    0Success
    1Argument error
    Example
    //[result example]
    //
    // hello world !!
    //
    
    run()
    exit
    
    function run()
    
    	local output_str
    	local w_array = {'hello', 'world', '!!'}
    
    	output_str = join(" ", w_array)
    
    	print(output_str, stdout)
    
    endfunction
    
    Top‚Ö

    © Insight Technology, Inc. 1996-2003 All Rights Reserved.