Functions.VoDbInfo 方法 (UInt32, __Usual) |
命名空间: XSharp.RT
1FUNCTION ShowInfo() AS VOID 2 LOCAL uResult AS USUAL 3 uResult := NIL 4 IF VODBInfo(DBI_GETHEADERSIZE, @uResult) 5 ? "HEADER(): ", uResult 6 ELSE 7 DoError() 8 ENDIF 9 IF VODBInfo(DBI_LASTUPDATE, @uResult) 10 ? "LUpdate(): ", uResult 11 ELSE 12 DoError() 13 ENDIF 14 IF VODBInfo(DBI_GETRECSIZE, @uResult) 15 ? "RecSize(): ", uResult 16 ELSE 17 DoError() 18 ENDIF 19 IF VODBInfo(DBI_FULLPATH, @uResult) 20 ? "PATHNAME: ", uResult 21 ELSE 22 DoError() 23 ENDIF 24 RETURN 25STATIC FUNCTION DoError() AS USUAL 26 LOCAL uRetCode<br /> 27AS USUAL 28 LOCAL oError <br /> 29AS USUAL 30 oError := ErrorBuild(@strucErrInfo) 31 oError:FuncSym := #VODBInfo 32 RETURN EVAL(ErrorBlock(), oError)