PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • New WLanguage functions
  • Improved WLanguage functions
  • New WLanguage properties
  • Improved WLanguage properties
  • New advanced types of WLanguage
  • Improved advanced WLanguage types
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
In version 28, new functions, properties and data types have been introduced and some have been improved.
New WLanguage functions
WEBDEV - Server codeWindows The new WLanguage functions in server code are as follows:
Germany.CheckIdNrChecks the validity of an IdNr (personal identification number in Germany).
Germany.CheckUStIdNrChecks the validity of a USt-IdNr (company identification number in Germany).
RoundToMultipleReturns a numeric value rounded to the nearest multiple of another numeric value.
Belgium.CheckCBEChecks the validity of a CBE number (identifier from the Crossroads Bank for Belgian Enterprises).
Belgium.CheckNISSChecks the validity of a NISS number (Belgian social security identification number).
Belgium.CheckEUChecks the validity of a EU number (Belgian Establishment Unit number used to identify companies).
BitcoinValidAddressChecks whether a Bitcoin wallet address is valid.
Brazil.CheckCNPJChecks the validity of a CNPJ number (company identification number in Brazil).
Brazil.CheckCPFChecks the validity of a CPF number (personal identification number in Brazil).
Canada.CheckSINChecks the validity of a Canadian Social Insurance Number (SIN).
Canada.CheckBN9Checks the validity of a Canadian 9-digit Business Number (BN9).
Canada.CheckBN15Checks the validity of a Canadian 15-digit Business Number (BN15).
DiagramSearchSearches for shapes containing a specific text in a diagram.
dModifyContrastChanges the contrast of an image contained:
  • in an Image control,
  • in an Image variable.
DocFindElementByNameSearches for an element by its name in a Word Processing document.
dStraightenTransforms an image by applying perspective correction.
dTextMarkdownDraws Markdown text:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable].
EnModePageDansFenêtreIndicates whether the page is displayed in a window control Page WEBDEV.
Spain.CheckDNIChecks the validity of a DNI number (personal identification number in Spain).
Spain.CheckNIFChecks the validity of a NIF number (company identification number in Spain).
UnitedStates.CheckEINChecks the validity of a U.S. Employer Identification Number.
UnitedStates.CheckFEIChecks the validity of a U.S. Firm Establishment Identifier.
UnitedStates.CheckSSNChecks the validity of a U.S. Social Security Number.
ExecuteFunctionExecutes a WLanguage function identified by its name.
France.CheckINSEETests the validity of an INSEE number (identification number of physical persons assigned by the National Institute of Statistics and Economic Studies - Institut National de la Statistique et des Etudes Economiques).
France.CheckSIRENChecks the validity of a French SIREN number (Système d'Identification du Répertoire des Entreprises).
France.CheckSIRETChecks the validity of a French SIRET number (Système d'Identification du Répertoire des Etablissements).
fBuildRelativePathReturns the path to a file relative to a reference directory.
fMIMETypeReturns the type of file according to the MIME standard (Multipurpose Internet Mail Extensions).
GenerateGeometricImageRandomly generates an image with geometric shapes. This image can be used to temporarily fill an Image control, for example.
HDropViewRemoves a materialized view from the HFSQL server.
HTMLToPDFConverts an HTML string or buffer to a buffer containing a PDF document.
IBANValidChecks the validity of an International Bank Acount Number (IBAN).
iPrintAreaMarkdownPrints Markdown text in a rectangular area.
iPrintingNationModifies the current language for the next print (programmed print or report print).
Italy.CheckCFChecks the validity of a CF number (personal identification number in Italy).
Italy.CheckIVAChecks the validity of an IVA number (company identification number in Italy).
MarkdownToDOCXConvertit une chaîne de caractères au format Markdown vers un document au format docx.
MarkdownToHTMLConverts a string in Markdown format into a buffer in HTML format (encoded in UTF8).
MarkdownToPDFConverts a string (or buffer) in Markdown format into a buffer containing an Document PDF.
OpenAPIToHTTPBuilds the HTTP request to call a function of an API. It can then be sent using HTTPSend.
SchedulerAddTriggerCreates a trigger for a scheduled task.
SchedulerAddTaskCreates a task in the Windows scheduler (if this task does not already exist).
SchedulerTaskStatusGets or sets the status of a task created in the Windows scheduler.
SchedulerTaskListRetrieves the list of scheduled tasks.
SchedulerModifyTriggerModifies the parameters of a trigger of a scheduled task, i.e. the parameters that will define the execution of a task.
SchedulerModifyTaskModifies the parameters of a scheduled task.
SchedulerTriggerPropertiesReads the properties of trigger of a scheduled task and updates the TriggerScheduledTask structure.
SchedulerTaskPropertiesReads the properties of a scheduled task and updates the ScheduledTask structure.
SchedulerResetPopulates the ScheduledTask and/or TriggerScheduledTask structures with the default values.
SchedulerDeleteTriggerDeletes a trigger from a scheduled task.
SchedulerDeleteTaskDeletes a scheduled task.
CapitalizeEachWordCapitalizes the first letter of all words in a string.
SocketConfigureConfigures the use of Socket functions.
SocketProxySpécifie si les sockets TCP et les WebSockets doivent ou non passer par un proxy SOCKS5 pour exécuter leurs requêtes.
Switzerland.CheckUIDChecks the validity of a UID number (Swiss business identification number).
Switzerland.CheckOASIChecks the validity of a Swiss Old-​Age and Survivors' Insurance Number (OASI).
Switzerland.CheckBERChecks the validity of a BER number (company identifier in the Swiss Business and Enterprise Register).
UTFConvertConverts a string or buffer to the specified format: UTF, ANSI, Unicode.
The new WLanguage functions (prefix syntax) in Server code are as follows:
<DateTime type>.ToStringConverts a DateTime to string in the specified format.
<Element>.RequestRefreshUIRequests the execution of the "Request for refreshing the display" event of the specified element (and gives back control without waiting for the execution of the event).
<Image>.ModifyContrastChanges the contrast of an image contained in an Image control.
<Image variable>.ModifyContrastModifies the contrast of an image in an Image variable.
<Word Processing>.FindElementByNameSearches for an element by its name in a Word Processing document.
<Document>.FindElementByNameSearches for an element by its name in a Word Processing document.
<Image>.DessineTexteMarkdownDraws a text in Markdown format in an Image control.
<Variable Image>.DessineTexteMarkdownDraws a text in Markdown format in an Variable of type Image.
<Variable picLayer>.DessineTexteMarkdownDraws a text in Markdown format in a variable of type picLayer.
<Variable WDPic>.DessineTexteMarkdownDraws a text in Markdown format in an Variable of type WDPic.
<Element>.ExecuteRefreshUIImmediately executes the "Request for refreshing the display" event of the given element.
<DiskFile variable>.LockEntirely or partially locks an external file.
<DiskFile variable>.ChangeSizeResizes an external file.
<DiskFile variable>.FindFinds a character string or a buffer in a file opened by fOpen.
<DiskFile variable>.UnlockEntirely or partially unlocks an external file.
<DiskFile variable>.WriteLineWrites a line into a text file (ANSI or UNICODE).
<DiskFile variable>.WriteWrites:
  • a character string into an external file.
  • a memory section.
<DiskFile variable>.CloseCloses an external file.
<DiskFile variable>.ReadLineRegularExpressionReads a line in an external file, gets sections of this line according to a regular expression and assigns them to a variable.
<DiskFile variable>.ReadLineReads a line from an external file (ANSI or UNICODE).
<DiskFile variable>.ReadReads:
  • a block of bytes (characters) in an external file (ANSI or Unicode),
  • the content of an external file (ANSI or Unicode) and assigns it to a memory area.
<DiskFile variable>.FileNameReturns the name of an external file currently open.
<DiskFile variable>.SeekGets and sets current position in an external file.
<DiskFile variable>.SizeReturns the size of a file (in bytes).
<pdfDocument variable>.SaveSaves the content of a pdfDocument variable in a ".PDF" file.
WEBDEV - Server codeLinux The new WLanguage functions for WEBDEV in Linux are as follows:
Germany.CheckIdNrChecks the validity of an IdNr (personal identification number in Germany).
Germany.CheckUStIdNrChecks the validity of a USt-IdNr (company identification number in Germany).
RoundToMultipleReturns a numeric value rounded to the nearest multiple of another numeric value.
Belgium.CheckCBEChecks the validity of a CBE number (identifier from the Crossroads Bank for Belgian Enterprises).
Belgium.CheckNISSChecks the validity of a NISS number (Belgian social security identification number).
Belgium.CheckEUChecks the validity of a EU number (Belgian Establishment Unit number used to identify companies).
BitcoinValidAddressChecks whether a Bitcoin wallet address is valid.
Brazil.CheckCNPJChecks the validity of a CNPJ number (company identification number in Brazil).
Brazil.CheckCPFChecks the validity of a CPF number (personal identification number in Brazil).
Canada.CheckSINChecks the validity of a Canadian Social Insurance Number (SIN).
Canada.CheckBN9Checks the validity of a Canadian 9-digit Business Number (BN9).
Canada.CheckBN15Checks the validity of a Canadian 15-digit Business Number (BN15).
DiagramSearchSearches for shapes containing a specific text in a diagram.
dModifyContrastChanges the contrast of an image contained:
  • in an Image control,
  • in an Image variable.
dStraightenTransforms an image by applying perspective correction.
dTextMarkdownDraws Markdown text:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable].
EnModePageDansFenêtreIndicates whether the page is displayed in a window control Page WEBDEV.
Spain.CheckDNIChecks the validity of a DNI number (personal identification number in Spain).
Spain.CheckNIFChecks the validity of a NIF number (company identification number in Spain).
UnitedStates.CheckEINChecks the validity of a U.S. Employer Identification Number.
UnitedStates.CheckFEIChecks the validity of a U.S. Firm Establishment Identifier.
UnitedStates.CheckSSNChecks the validity of a U.S. Social Security Number.
ExecuteFunctionExecutes a WLanguage function identified by its name.
France.CheckINSEETests the validity of an INSEE number (identification number of physical persons assigned by the National Institute of Statistics and Economic Studies - Institut National de la Statistique et des Etudes Economiques).
France.CheckSIRENChecks the validity of a French SIREN number (Système d'Identification du Répertoire des Entreprises).
France.CheckSIRETChecks the validity of a French SIRET number (Système d'Identification du Répertoire des Etablissements).
fBuildRelativePathReturns the path to a file relative to a reference directory.
FTPProxySpecifies whether the communication functions that use the FTP protocol must go through a proxy to run their requests.
fMIMETypeReturns the type of file according to the MIME standard (Multipurpose Internet Mail Extensions).
GenerateGeometricImageRandomly generates an image with geometric shapes. This image can be used to temporarily fill an Image control, for example.
HDropViewRemoves a materialized view from the HFSQL server.
IBANValidChecks the validity of an International Bank Acount Number (IBAN).
iPrintAreaMarkdownPrints Markdown text in a rectangular area.
iPrintingNationModifies the current language for the next print (programmed print or report print).
Italy.CheckCFChecks the validity of a CF number (personal identification number in Italy).
Italy.CheckIVAChecks the validity of an IVA number (company identification number in Italy).
MarkdownToDOCXConvertit une chaîne de caractères au format Markdown vers un document au format docx.
MarkdownToHTMLConverts a string in Markdown format into a buffer in HTML format (encoded in UTF8).
MarkdownToPDFConverts a string (or buffer) in Markdown format into a buffer containing an Document PDF.
CapitalizeEachWordCapitalizes the first letter of all words in a string.
SocketProxySpécifie si les sockets TCP et les WebSockets doivent ou non passer par un proxy SOCKS5 pour exécuter leurs requêtes.
Switzerland.CheckUIDChecks the validity of a UID number (Swiss business identification number).
Switzerland.CheckOASIChecks the validity of a Swiss Old-​Age and Survivors' Insurance Number (OASI).
Switzerland.CheckBERChecks the validity of a BER number (company identifier in the Swiss Business and Enterprise Register).
UTFConvertConverts a string or buffer to the specified format: UTF, ANSI, Unicode.
The new WLanguage functions (prefixed syntax) for WEBDEV in Linux are the following:
<DateTime type>.ToStringConverts a DateTime to string in the specified format.
<Element>.RequestRefreshUIRequests the execution of the "Request for refreshing the display" event of the specified element (and gives back control without waiting for the execution of the event).
<Image>.ModifyContrastChanges the contrast of an image contained in an Image control.
<Image variable>.ModifyContrastModifies the contrast of an image in an Image variable.
<Image>.DessineTexteMarkdownDraws a text in Markdown format in an Image control.
<Variable Image>.DessineTexteMarkdownDraws a text in Markdown format in an Variable of type Image.
<Variable picLayer>.DessineTexteMarkdownDraws a text in Markdown format in a variable of type picLayer.
<Variable WDPic>.DessineTexteMarkdownDraws a text in Markdown format in an Variable of type WDPic.
<Element>.ExecuteRefreshUIImmediately executes the "Request for refreshing the display" event of the given element.
<DiskFile variable>.LockEntirely or partially locks an external file.
<DiskFile variable>.ChangeSizeResizes an external file.
<DiskFile variable>.FindFinds a character string or a buffer in a file opened by fOpen.
<DiskFile variable>.UnlockEntirely or partially unlocks an external file.
<DiskFile variable>.WriteLineWrites a line into a text file (ANSI or UNICODE).
<DiskFile variable>.WriteWrites:
  • a character string into an external file.
  • a memory section.
<DiskFile variable>.CloseCloses an external file.
<DiskFile variable>.ReadLineReads a line from an external file (ANSI or UNICODE).
<DiskFile variable>.ReadReads:
  • a block of bytes (characters) in an external file (ANSI or Unicode),
  • the content of an external file (ANSI or Unicode) and assigns it to a memory area.
<DiskFile variable>.FileNameReturns the name of an external file currently open.
<DiskFile variable>.SeekGets and sets current position in an external file.
<DiskFile variable>.SizeReturns the size of a file (in bytes).
<pdfDocument variable>.SaveSaves the content of a pdfDocument variable in a ".PDF" file.
PHP The new WLanguage functions for PHP are as follows:
The new WLanguage functions (prefix syntax) for PHP are as follows:
<DateTime type>.ToStringConverts a DateTime to string in the specified format.
WEBDEV - Browser code The new WLanguage functions for WEBDEV in browser code are as follows:
EnModePageDansFenêtreIndicates whether the page is displayed in a window control Page WEBDEV.
The new WLanguage functions (prefixed syntax) for WEBDEV in browser code are the following:
<DateTime type>.ToStringConverts a DateTime to string in the specified format.
Improved WLanguage functions
WEBDEV - Server codeWindowsLinux The following functions have been modified in this version:
AssistedInputAddAdd a parameter to associate a stored value to the added row.
CertificateCheckStringThe Certificate can now correspond to an Variable of type Buffer.
CertificateSignStringThe Certificate can now correspond to an Variable of type Buffer.
DecryptAsymmetricThe public key can now correspond to an Variable of type Buffer.
DecryptAsymmetricEnvelopedThe public key can now correspond to an Variable of type Buffer.
EncryptAsymmetricThe public key can now correspond to an Variable of type Buffer.
EncryptAsymmetricEnvelopedThe public key can now correspond to an Variable of type Buffer.
HDescribeServerTriggerNew syntax to create a trigger from the description made in the analysis.
HListKeyPrimary keys are now taken into account.
HSuggèreKeyNew parameter to set the format of the result.
iAreaHeightNew constant to manage text in Markdown format.
SaaSadminListeServiceAdd a parameter to remove or not the duplicates in the result.
TwoFactorAuthenticationCheckCodeThe code can now correspond to a string of characters.
New WLanguage properties
WEBDEV - Server codeWindows The new WLanguage properties for WEBDEV applications are as follows:
ExtraThe Property Extra allows to:
  • Know the additional information associated with a control , a window, or a Page.
  • Edit additional information associated with an control, a window or an Page.
WEBDEV - Server codeLinux The new WLanguage properties for WEBDEV applications on Linux are as follows:
ExtraThe Property Extra allows to:
  • Know the additional information associated with a control , a window, or a Page.
  • Edit additional information associated with an control, a window or an Page.
Improved WLanguage properties
WEBDEV - Server codeWindowsLinux The following properties have been modified in this version:
KeyTypeNew constant to manage primary keys.
New advanced types of WLanguage
WEBDEV - Server codeWindows The new WLanguage types for WEBDEV applications are as follows:
diagActionAllowedThe diagActionAuthorized type is used to define the actions available to end users on a diagram shape in the Diagram Editor control.
DiskFileThe DiskFile type is used to handle text files present on disk.
AssistedInputThe AssistedInput type allows you to define all the advanced characteristics of an row in the assisted entry.
xlsLayoutThe xlsLayout type is used to define all the layout characteristics of a sheet of an XLSX document in a Spreadsheet control.
WEBDEV - Server codeLinux The new WLanguage types for WEBDEV applications on Linux are as follows:
diagActionAllowedThe diagActionAuthorized type is used to define the actions available to end users on a diagram shape in the Diagram Editor control.
DiskFileThe DiskFile type is used to handle text files present on disk.
AssistedInputThe AssistedInput type allows you to define all the advanced characteristics of an row in the assisted entry.
xlsLayoutThe xlsLayout type is used to define all the layout characteristics of a sheet of an XLSX document in a Spreadsheet control.
Improved advanced WLanguage types
WEBDEV - Server codeWindowsLinux The following advanced types have been improved for WEBDEV applications:
TokenNew Property StoredValue allowing to store a value associated with Token.
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment