Matrix Elements VB-800 Instrukcja Użytkownika Strona 40

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 39
32 Appendix A2 Exported Function Summary
Return value
OxValGetArray array of OxVALUEsorNULL if not OX
ARRAY
OxValGetArrayLen array length or 0 if not OX
ARRAY
OxValGetArrayVal ith OxVALUE or NULL if not OX
ARRAY or index is
beyond array bounds
OxValGetDouble TRUE if value in pv can be interpreted as a double
OxValGetInt TRUE if value in pv can be interpreted as an integer
OxValGetMat MATRIX if value in pv can be interpreted as a matrix
or NULL if failed
OxValGetMatc number of columns if successful or 0 if failed
OxValGetMatr number of rows if successful or 0 if failed
OxValGetMatrc number of elements if successful or 0 if failed
OxValGetString pointer to string or NULL if not OX
STRING
OxValGetStringLen string length or 0 if not OX
STRING
OxValGetVal returns the ith OxVALUE in pv (without checking the
pv array bounds)
Description
Gets information from an OxVALUE. A type conversion is applied to pv if the
OxVALUE is not of the requested type (which is unlike the macro versions of
§A2.3). The conversion is similar to making a call to OxLibCheckType first, and
then using the macro version. If conversion to the requested type cannot be made,
this is reflected in the return value.
OxValHasType, OxValHasFlag
bool OxValHasType(OxVALUE *pv, int iType);
bool OxValHasFlag(OxVALUE *pv, int iFlag);
pv in: OxVALUE to get information from
iType in: type to test for
iFlag in: flag (property) to test for
Return value
TRUE if pv has the specified type/property.
OxValRows
int OxValRows(OxVALUE *pv);
pv in: OxVALUE to get size of
No return value.
Description
OxValRows as Ox function rows
OxValSet...
Przeglądanie stron 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 171 172

Komentarze do niniejszej Instrukcji

Brak uwag