ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Standard functions / Specific Mobile functions / SIM card functions
  • Managing errors
  • ARM v4T processors (and compatible processors)
  • Differences between GO mode and run time
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
Writes or modifies an entry in the directory of SIM card.
Example
// Writes the "Vince, 0612345678" entry into the personal directory of SIM card
SIMWrite("Vince", "0612345678", simPersonal)
// Modify the entry "7" in the directory of last numbers dialed
SIMWrite(7, "Vince", "0698765421", simLastCall)
Syntax

Writing an entry into the directory of SIM card Hide the details

SIMWrite(<Name of New Entry> , <Number of New Entry> [, <Directory>])
<Name of New Entry>: Character string (with quotes)
Name of entry to add.
<Number of New Entry>: Character string (with quotes)
Phone number of entry to add.
<Directory>: Optional constant
Directory to use:
simPersonal
(Default value)
Personal directory of SIM card.
simLastCallDirectory of last numbers dialed.

Modifying an entry in the directory of SIM card Hide the details

SIMWrite(<Entry subscript> , <Entry Name> , <Entry Number> [, <Directory>])
<Entry subscript>: Integer
Subscript of entry to modify.
<Entry Name>: Character string (with quotes)
Name of entry to modify.
<Entry Number>: Character string (with quotes)
Phone number of entry to modify.
<Directory>: Optional constant
Directory to use:
simPersonal
(Default value)
Personal directory of SIM card.
simLastCallDirectory of last numbers dialed.
Remarks

Managing errors

Caution: SIMWrite returns no error code. To find out whether an error was generated by this function, use the ErrorOccurred variable. To find out the error details, use ErrorInfo.

ARM v4T processors (and compatible processors)

SIMWrite cannot be used on a Mobile Device equipped with an ARM v4T processor (or with a compatible processor).

Differences between GO mode and run time

In GO mode (simulation on the development computer), a WLanguage error is generated during the call to SIMWrite.
The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
Component: wp260ce.dll
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 09/17/2020

Send a report | Local help