PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • New WLanguage functions
  • Improved functions of WLanguage
  • New WLanguage properties
  • Improved WLanguage properties
  • New advanced types of WLanguage
  • Improved advanced types of WLanguage
Products
WinDevWebDev - Server codeWebDev - Browser codeWinDev MobileReports and Queries
Platforms
WindowsLinuxWindows MobileUniversal Windows 10 AppAndroidAndroid Widget iPhone/iPadApple Watch
Languages
JavaPHPAjaxUser code (UMC)External language
Databases
HFSQLHFSQL Client/ServerStored proceduresOLE DBODBCNative Accesses

Overview
In version 21, new functions, new properties and new types of data have been introduced and some of them have been improved.

New WLanguage functions
WebDev - Server codeWindows The new WLanguage functions in server code are as follows:

GetCountryListDonne la liste des pays avec leurs codes ISO (norme 3166-1) et la constante nation correspondante.
dRoundedRectangleDessine un rectangle arrondi :
dans un champ Image,
dans une variable de type Image.
fDirExistTeste l'existence d'un répertoire.
fTempDirReturns the name of the directory used to store the temporary files.
HTTPSimulateNetworkSimule un réseau lent en limitant la vitesse de téléchargement/envoi.
BrowserRunAppOpens the default Web browser of the current device.
PremierJourDeLAnnéeRetourne le premier jour de l’année à partir d’une date donnée ou de la date courante
SysLinkExtensionAssociates an extension (.txt, .avi, etc.) with a default runtime program.
SysUnlinkExtensionDeletes the association between an extension and a command that was created by SysLinkExtension.
SysGetExtLinkReturns the command linked to an extension.
TableListChildLists the "children" of a node and the "child" elements of these "children" in a TreeView Table control.
TraceBuildAffiche un message personnalisé dans la fenêtre de trace ouverte en parallèle de la fenêtre en cours.

WebDev - Server codeLinux The new WLanguage functions for WEBDEV in Linux are as follows:

GetCountryListDonne la liste des pays avec leurs codes ISO (norme 3166-1) et la constante nation correspondante.
dRoundedRectangleDessine un rectangle arrondi :
dans un champ Image,
dans une variable de type Image.
fDirExistTeste l'existence d'un répertoire.
fTempDirReturns the name of the directory used to store the temporary files.
HTTPSimulateNetworkSimule un réseau lent en limitant la vitesse de téléchargement/envoi.
PremierJourDeLAnnéeRetourne le premier jour de l’année à partir d’une date donnée ou de la date courante
TableListChildLists the "children" of a node and the "child" elements of these "children" in a TreeView Table control.
TraceBuildAffiche un message personnalisé dans la fenêtre de trace ouverte en parallèle de la fenêtre en cours.

WebDev - Browser code The new WLanguage functions for WEBDEV in Browser code are as follows:

AddAdds an element in last position:
  • of a one-dimensional WLanguage array.
  • of an advanced array property (array of events of gglCalendar, ...).
  • of a WLanguage list.
AddLineAdds a row at the end:
  • of a one- or two-dimensional WLanguage array.
  • of a two-dimensional array property of a variable type (xlsDocument variable for example).
SeekSeeks the subscript of an element in a WLanguage array.
SeekByProcedureSeeks an element in a one-dimensional array by using a comparison procedure.
MoveUsed to:
  • move an element in a one-dimensional WLanguage array or in an advanced array property (array of gglCalendar events, ...). The other array elements are moved accordingly.
  • swap two elements in a one-dimensional WLanguage array or in an advanced array property (array of gglCalendar events, ...).
MoveLineUsed to:
  • move a row in a two-dimensional WLanguage array or in an advanced array property. The other array rows are moved accordingly.
  • swap two rows in a two-dimensional WLanguage array or in an advanced array property.
SwapLineUsed to swap two rows in a two-dimensional array or in an advanced array property.
InsertInserts an element at a given position:
  • into a one-dimensional WLanguage array.
  • into an associative array.
  • into an advanced array property (array of gglCalendar events, ...).
  • into a WLanguage list.
InsertLineInserts a row at a given position:
  • into a two-dimensional WLanguage array.
  • into an advanced two-dimensional array property (xlsDocument, ...).
DeleteDeletes an element at a given position:
  • from a one-dimensional WLanguage array.
  • from an advanced array property (array of gglCalendar events, ...).
  • from an associative array.
  • from a WLanguage list.
DeleteLineDeletes a row at a given position:
  • from a two-dimensional array.
  • from the advanced array property (array of gglCalendar events, ...).
DeleteAllDeletes all the elements:
  • from a one-dimensional or two-dimensional WLanguage array.
  • from an associative array.
  • from an advanced array property (array of gglCalendar events, ...).
  • from a WLanguage queue.
  • from a WLanguage stack.
  • from a WLanguage list.
ArrayAddAdds an element in last position:
  • of a one-dimensional WLanguage array.
  • of an advanced array property (array of events of gglCalendar, ...).
  • of a WLanguage list.
ArrayAddLineAdds a row at the end:
  • of a one-dimensional or two-dimensional array.
  • of an advanced two-dimensional array property (xlsDocument, …).
ArrayAddSortedAdds an element into a one-dimensional array while taking into account the sort criterion defined by ArraySort.
ArraySeekSeeks the subscript of an element in a WLanguage array.
ArraySeekByProcedureSeeks an element in a one-dimensional array by using a comparison procedure.
ArrayCopyCopies the content of an array into another array.
ArrayMoveUsed to:
  • move an element in a one-dimensional WLanguage array or in an advanced array property (array of gglCalendar events, ...). The other array elements are moved accordingly.
  • swap two elements in a one-dimensional WLanguage array or in an advanced array property (array of gglCalendar events, ...).
ArrayMoveLineUsed to:
  • move a row in a two-dimensional array or in an advanced array property. The other array rows are moved accordingly.
  • swap two rows in a two-dimensional array or in an advanced array property.
ArraySwapLineUsed to swap two rows in a two-dimensional array or in an advanced array property.
ArrayInfoReturns the characteristics of an array: type of the elements, number of dimensions, dimensions, ...
ArrayInsertInserts an element at a given position:
  • into a one-dimensional array.
  • into an associative array.
  • into an advanced array property (array of gglCalendar events, ...).
  • into a WLanguage list.
ArrayInsertLineInserts a row at a given position:
  • into a two-dimensional WLanguage array.
  • into an advanced two-dimensional array property (xlsDocument, ...).
ArrayReverseReverses the content of a one-dimensional array.
ArrayMixMixes the elements of a WLanguage array.
ArrayDeleteDuplicateDeletes the duplicates from an array.
ArrayDeleteLineDeletes a row at a given position:
  • from a two-dimensional array.
  • from the advanced array property (array of gglCalendar events, …)
The size of the array is automatically reduced.
ArraySortSorts a WLanguage array.
ArrayToStringConverts a one-dimensional array or a two-dimensional array into a character string.

PHP The new WLanguage functions for WEBDEV for the PHP sites are as follows:

CharactUnicodeReturns the character corresponding to the specified Unicode code.
StringInsertInserts a string into another character string at a given position.
StringReverseReverses the characters of a string.
ChronoPausePauses a stopwatch in order to measure the time spent on a process.
ChronoResetStops and resets an existing stopwatch to zero.
ChronoResumeRestarts a stopwatch that was previously stopped by ChronoEnd or ChronoPause.
MakeIntegerBuilds a 4-byte integer from two 2-byte integers.
SysDateTimeReturns or modifies the system date (date and time of the day defined for the current computer).
DateTimeValidChecks the validity of a date/time included between January 01 0001 at 0 hour 0 minute 0 second 0 hundredth of a second and December 31 9999 at 23 hours 59 minutes 59 seconds 99 hundredths of a second.
MoveLineUsed to:
  • move a row in a two-dimensional WLanguage array or in an advanced array property. The other array rows are moved accordingly.
  • swap two rows in a two-dimensional WLanguage array or in an advanced array property.
SwapLineUsed to swap two rows in a two-dimensional array or in an advanced array property.
fAddBufferAdds the content of a buffer at the end of a file.
fAddTextAdds the content of a character string at the end of a file.
fChangeSizeResizes an external file.
fLoadBufferLoads the content of a text file in a buffer variable.
fDirExistTeste l'existence d'un répertoire.
fTempDirReturns the name of the directory used to store the temporary files.
fSaveBufferCreates and fills a text file with the content of a string or buffer variable.
fDeleteFileWebFolderDeletes an image file from the "_WEB" directory of the application (or from one of its sub-directories).
TableListChildLists the "children" of a node and the "child" elements of these "children" in a TreeView Table control.
UTF8ToAnsiConverts a string in UTF8 format into a string in Ansi format.
UTF8ToUnicodeConverts a string in UTF8 format into a Unicode string.

Improved functions of WLanguage
WebDev - Server codeWindowsLinux The following functions have been modified in this version:

WebDev - Browser code The following functions have been modified in this version:

PHP The following functions have been modified in this version:

New WLanguage properties
WebDev - Server codeWindowsLinux The new properties are as follows:

TransparencyModePermet de connaître et de modifier le mode de transparence d'un champ image.
AlternativeTextPermet de lire/modifier le texte alternatif des champ images de la page.

WebDev - Browser code The new properties are as follows:

PHP The new properties are as follows:

TransparencyModePermet de connaître et de modifier le mode de transparence d'un champ image.
AlternativeTextPermet de lire/modifier le texte alternatif des champ images de la page.

Improved WLanguage properties
WebDev - Server codeWindowsLinux The following properties have been improved:

WebDev - Browser code The following properties have been improved:

New advanced types of WLanguage
WebDev - Server code The new WLanguage types for the WEBDEV sites are as follows:

WebDev - Browser code The new WLanguage types for the WEBDEV sites are as follows:

PHP The new WLanguage types for the PHP WEBDEV sites are as follows:

Improved advanced types of WLanguage
WebDev - Server code The following WLanguage types have been improved for the WEBDEV sites:
Minimum required version
  • Version 20
Comments
Click [Add] to post a comment