ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV 2024 feature!
Help / WLanguage / WLanguage functions / Controls, pages and windows / 
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
<Code editor>.Compile (Function)
In french: <Editeur de code>.Compile
Compiles the WLanguage code displayed in the Code Editor control and displays any errors.
Example
// Compiles the code in the Code Editor control 
// and displays potential errors directly in the control
bResult is boolean = CODEEDT_Example.Compile()
IF bResult = True THEN
	ToastDisplay("Your code compiles perfectly!")
ELSE
	ToastDisplay("Just a few more adjustments, you're almost there!")
END
Syntax
<Result> = <Code Editor control>.Compile()
<Result>: Boolean
  • True if the WLanguage code displayed in the control compiles correctly,
  • False otherwise.
<Code Editor control>: Control name
Name of the Code Editor control to be used.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/07/2024

Send a report | Local help