Functions.ArrayInit 方法 |
命名空间: XSharp.RT
FUNCTION ArrayInit( wElements AS DWORD, avalues REF USUAL[] ) AS ARRAY
public static __Array ArrayInit( uint wElements, ref __Usual[] avalues )
1FUNCTION Start() 2 LOCAL aOffsets AS ARRAY 3 LOCAL DIM aDimPoint[2] AS USUAL 4 aDimPoint[1] := "你好" 5 aDimPoint[2] := "世界!" 6 aOffsets := ArrayInit(2, @aDimPoint)