public Variable[] ArrayPopRetrieve( Int32 count )
{
Int32 arrsize = ArraySize();
if( arrsize < count )
throw new SGSException( RC.EINPROC, string.Format( "Not enough items in array {0}, expected at least {1}", arrsize, count ) );
ArrayPopToStack( _sgsEngine, count );
return _sgsEngine.TakeTopmostVars( count );
}