ToWord Function |
Namespace: XSharp.RT
Tip |
---|
ToWord() is the same as the Word() function in CA-Clipper, but WORD is a reserved word in X#. Under X#, Word() is a conversion operator. With numbers that are not greater than a WORD type number, it yields the same results as ToWord() and maintains compatibility with CA-Clipper. |
1LOCAL n := 30000 AS USUAL 2CProc(ToWord(n)) 3FUNCTION CProc(siV AS SHORTINT) 4 ? siV