PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Matrix existence
  • Managing errors
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Reads the value of a matrix element.
Reminder: A matrix element is identified by its row and by its column.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
// Read the element (row 3, column 5)
ResRead = MatRead("MyMatrix", 3, 5)
Syntax
<Result> = MatRead(<Matrix> , <Element row> , <Element column>)
<Result>: Real
Value of element read.
<Matrix>: Character string (with quotes)
Name of matrix to read, defined by MatCreate.
<Element row>: Integer
Number of the row for the element to read.
<Element column>: Integer
Number of the column for the element to read.
Remarks

Matrix existence

The matrix existence is not checked. To check the matrix existence, use MatExist.

Managing errors

Caution: MatRead returns no error code.
To find out whether errors have been generated when reading an element, use MatError. To find out the error details, use ErrorInfo associated with the errMessage constant.
Business / UI classification: Neutral code
Component: wd260mat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment