PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV, WEBDEV and WINDEV Mobile 26 feature!
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
GenerateLorem (Function)
In french: GénèreLorem
Generates a "Lorem ipsum" text to, for example, temporarily fill a control with text.
Example
// Fill an edit control with a 200-word "Lorem ipsum" text
// that will be displayed in the back cover of a book
 
// Generate the 200-word text
sCoverText is string = GenerateLorem(200)
 
// Display text in the Edit control
EDT_cover = sCoverText
Syntax
<Result> = GenerateLorem(<Number of words> [, <Seed>])
<Result>: Character string
  • Generated text.
  • Empty string ("") if the number of words specified is 0.
<Number of words>: Integer
Number of words to generate. If this number is 0, the text returned will be an empty string ("").
<Seed>: Integer
Used to change the generated text.
For each value of this parameter, a unique text is generated.
If this parameter is not specified, the generated text will be different each time the function is called.
Component: wd260std.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment