ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2025 feature!
Help / WLanguage / WLanguage syntax / WLanguage types
  • Default value
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
SecretString (Variable type)
In french: ChaîneSecrète
The SecretString type is used to manipulate strings contained in a password vault.
The contents of this secret string will never be visible, which is especially useful in the following cases:
  • Use of functions to display dialog boxes (e.g. Info),
  • Trace window.
  • Use of the debugger.
Similarly, it is not possible to transfer the contents of a variable of type SecretString to another variable.
Example
s is SecretString
IF InTestMode THEN
	s = HFSQLDatabase_Tests
ELSE
	s = HFSQLDatabase_Production
END

HPass("*", s)
Syntax

Declaring and initializing a "SecretString" variable Hide the details

<Variable name> is SecretString = <Value>
OR

<Variable name> is SecretString
<Variable name> = <Value>
<Variable name>:
Name of the variable to declare.
<Value>:
Value given to the variable. This value corresponds to the identifier of a secret string defined in the password vault of the project or set of procedures.
Remarks

Default value

A declared and uninitialized "SecretString" variable corresponds to an empty string ("").
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/12/2025

Send a report | Local help