天软金融分析.NET函数大全 > TSL函数 > 基础函数 > 数组 > 数组取值

GetBottomN    

简述
取数组后N行,一般先用SortByField排序,然后使用此函数
定义
GetBottomN(t:Array;N:Integer):Array
参数
名称类型说明
TArray数据表
NInteger整数
返回Array数组后N行记录
  • 范例

    t2:=array(('a':2,'c':13),('a':3,'c':33),('a':3,'c':33));
    return GetBottomN(t2,2);

    结果:
相关