Functions.OrdDescend 方法 |
命名空间: XSharp.RT
FUNCTION OrdDescend( uOrder, cIndexFile, lNewDescend ) AS LOGIC CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })] public static bool OrdDescend( __Usual uOrder = default, __Usual cIndexFile = default, __Usual lNewDescend = default )
1USE customer VIA "DBFCDX" 2INDEX ON LastName TAG Last 3INDEX ON FirstName TAG First DESCENDING 4SET ORDER TO TAG Last 5// last 最初创建为升序 6// 将其切换为降序 7OrdDescend(,, TRUE) 8// Last 现在将以降序处理 9SET ORDER TO TAG First 10// First 最初创建为降序 11// 将其切换为升序 12OrdDescend(,, FALSE) 13// First 现在将以升序处理