Functions.OrdIsUnique 方法 |
命名空间: XSharp.RT
FUNCTION OrdIsUnique( uOrder, cIndexFile ) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })] public static __Usual OrdIsUnique( __Usual uOrder = default, __Usual cIndexFile = default )
1USE customer VIA "DBFCDX" 2INDEX ON LastName TAG Last UNIQUE 3INDEX ON FirstName TAG First 4INDEX ON AGE TO j:\test\tmp\age UNIQUE 5SET ORDER TO last 6? OrdIsUnique() // 结果: TRUE, 对于 last 7? OrdIsUnique("First") // 结果: FALSE 8? OrdIsUnique("Age") // 结果: TRUE