Gentee Programming Language > Documentation > Libraries Download documentation

variant.arrfromg

The method assigns a value to an element of the SafeArray array
 
uint variant.arrfromg(
      collection   item
)

Parameters

itemThe collection that contains "coordinates" of an element; the last element of the collection - the assigned value.

Return value

If error occurs, method returns zero, otherwise returns 1.

Example

   v.arrfromg( %{0,0, 0.1234f} )    
   v.arrfromg( %{0,1, int(100)} )   
   v.arrfromg( %{2,1, "Test" } )

See also

    Working with COM Object


 Copyright © 2004-2006 Gentee Inc. All rights reserved.