0% found this document useful (0 votes)
423 views

WinDev WLanguage

WinDev WLanguage

Uploaded by

Ymiuchin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
423 views

WinDev WLanguage

WinDev WLanguage

Uploaded by

Ymiuchin
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 9
Di ELOP 10 TIMES FASTER pesogr Windev 18, WebDev 18, WinDev Mobile 18 Documentation version 18(4) 0343 Remember to visit the download section of www.windev.com on a regular basis to check whether upgraded vorsions aro avallabio, Ermail address of Free Technical Suaport: freetechnicalsupport@windev.com ‘This documentation is not contractually binding, Some mosifications may have beer mace to the software since this guide was published. See the online help. Al pocst nares roller uederaths mettonesin his cublcaion are estore Ladera ofthe especie one {DPCSOFT 2013: This cubestsn may nok be predic pat an sha ina or without the expos prison of PC SOFT WINDEV. WEBDEV. WINDEVMobite TABLE OF CONTENTS Part 1: Cope Epitor 12 Features linked to code input 1.21 Code colon 1.2.2 Automatic completion... 1.2.3 Code wiard... 1.2.4 Assisted input offurtions 1.2.5Help.. 1.2.6 Cooe itary. 1.2.7 Code check soe - 1.2.8 Automatic INEM eno 1.2.9 Translating the messages. 4.2.10 Manoging the breakpoints. 1.2.11 Inserting specific processes 1.2.12 Other features... Part 2 : BASIC SYNTAX OF WLANGUAGE 1. INTRODUCTION 1L1Some characteristics of Wlanguage 1.2 Programming in server code and in browser code 2, THE VARIABLES 2.1 The simples types . 2.1.1 PrNGIPIC on 2.4.2 Typ0s of variables 2.4.3 Declaringa simple type. 2.4.4 The tifferent types of integer. 9 . 2.4.5The currency type. : 2.4.8 The numeric ype 2.1.7 The real ype... 2.1.8 he Sting type 2.1.9 The Butter type. 24.10The date type 2.1.11 The time ype 2.1.12 he DateTime wpe... 2.4.13 The Duration type 2.4.14 The Variant ype . 22 Operations available for the dates, times and durations, Table of Contents | 3 4 2.3 Managing the NULL value 2.3.1 Null and the quetes . sess 2.3.2 Null and the variants... 2.3.3 Null and! the mimetic VAlUOS 2.3.4 Null and the WLenguage functions. : 2.3.5 Nulland the dynamic objects. 2.4 Constants 2.5 The advanced types 2.5.1 Simple array 2.5.2 Dynamic aray. 2.5.3 Fed aray 25.4 Assoclative aay... 2.5.5 Composite variable ...... 2.5.6 Structure... zs 2.5.7 Dynamie stucture 2.5.8 Automation object. 2.5.9 Dynamic Automation object. . 2.5.10 Data SOUOE rene 2 = ee 2.5.11 File description .. 2.5.12 Link description 2.5.13 Item description 2.5.14 FOMten ne, 2.5.15 Connection 2.5.16 Queve.... 25.17 List. 2.5.18 Stack..... o vs 2.6 Local variables/ global variables .... 2.6.1 Global variables... 2.6.2 Local variables... 2.7 Rule for variable scope ‘3. OPERATORS. 3.1 Overview ... 3.2 Logical operators 3.2.1 Overview. 3.2.2 Rules. 3.2.3 Notes. 3.3 Arithmetic operators 3.3.1 Overview. 3.3.2 Calculation rules... 3.3.3 Notes... 3.4 Binary operators 3.4.1 Binary operators... 3.4.2 Shift operators oo 3.4.3 Operator for direct access. 3.5 Comparison operators 3.5.1 Overview. 3.5.2 Details, | Table of Contents, WINDEV. WEBDEV. WINDEVMobite 3.6 Operators on character strings 3.6.1 Flezble equaliy and very flexible equality 3.6.2 The [[ and ]] operator... 3.6, 3 Operators an the charactor strings and UNicone 3.6.4 Position ne charzeter sing 3.6.5 WLanguage functions.. 3.7 Operator on address BB Indirection operators... 3.9 Miscellaneous operators 3.9.1 The brackets... 3.9.2 The square brackets. 3.9.3The comma.. 3.9.4 The semicolon 3.9.5 Colon ... 3.9.6 The dot....... 3.9.7 The double dot 3.9.8 Triple dot. 3.9.9 The double slest. 4, WLANGUAGE STATEMENTS 4.1 Composite statements ... 4.1.1 LOOP statement. 4.1.2 GOTO statement ... 7 4.1.3 FOR statement wonnonsnns 4.1.4 FOR EACH/FOR ALL statement, file browsing of data 4.1.5 FOR EACH /FOR ALL statement, parsing strings. 4.1.6 FOR EACH/FOR ALL statement, conuol browsing. 4.1.7 FOR EACH/FOR ALL statement, array BrOWSINg. ro. 4.1.8 FOR EACH/FOR ALL statement, browsing associative arrays. 4.1.9 SWITCH statement. _ “ 4.1.10 IF statement .. 4.1.14 WHILE statement. 4.2 Simple statements. 4.2.1 CONTINUE statement... 4.2.2 RETURN statement. 4.2.3 RESULT statement 4.2.8 BREAK staternent. ‘5._RESERVED WORDS: 89 5.1 Extem 5.2 MyWindow 5.3 MyPage 5.4 MySource . 5.5 Modulo .. 5.6 MySelt 5.7 MyPopupControl 5.8 MyReport Table of Contents | 5 6 5.9 MyFile .. 5.10 MyParent 5.11 STOP (calling the debugger) 6. PROCEDURE AND FUNCTION 95 6.1 Overview. 6.2 Global and local Procedure/function 6.2.1 DefiNlon nnn 6.2.2 Global procedure 6.2.3 Local procedure. 6.3 Set of procedures .. 6.3.1 Definition . 6.3.2 Creating a setof| procedures. 6.3.3 Importing a set of procedures 6.4 Declaring a procedure / a function... 6.4.1 Syntax 6.4.2 Exiting from a procedure. 6.4.3 Returning result. . 6.5 Calling a procedure/function .. 6.6 Parameter of a procedure/function . 6.6.1 Type of the parameters. 6.6.2 Passing parameter 6.6.3 Optional parameter 6.6.4 Procedure with avaiable numberof parameters 6.7 Overloada WLanguage function 67.1 DEMO nn - . 6.7.2How do! proceed... 6.7.3 Differentiating between the WLanguage function and the custom function .. 6.8 Prototype overload ..... 6.8.1 Overview . 6.8.2 How do | proceed? 6.8.3 Managing the overload at runtime. 7. MANAGING EXCEPTIONS 104 71 Overview .. 7.1.1 Displaying custom messag 7.1.2 Exception mechanism... 7 7.2 Mechanism of general EE nm 7.2.1 Overview. 7.2.2 Declaration syMa¥S oo 7.2.3 Declaring several processes of general exceptions 7.2.8 Genera nates . 17.2.5 Special case 7.3 Mechanism of specific exceptions 7.3.1 Overview. 7.3.2 Declaration syntaves... Table of Contents WINDEV. WEBDEV. WINDEVMobite 7.4 Mechanism of automated exceptions 7.4.4 implementation 7.4.2 Running the era: process ("CASE EXCEPTION: 7.4.3 Running a procedure af exception pracess.. 7.5 Functions for managing the exceptions .. :" Inthe code). 8. OBsect-ORIeNTED PROGRAMMING (OOP) 108 8.1 Overview of OOP (Object Oriented Programming} .....0.mdnnnnnnnnnnnrnnnclOB B.2 OOP CONCEPIS wrnesnsimnnnsnnsnnn paipaaenmammamamamancaansdNOB: 8.2.1 Cass, 108 8.2.2 Object. 108 8.2.3 Constructor ond destruct OF... 8.2.8 nnentarce... 8.2.5 Data encapsulation .... sae 8.3 Class, members and methods .. 8.3.1 Declaring the class. 8.3.2 Declaring the memes. 8.3.3 Declaring the constants. 8.3.4 Declaring the methods 8.3.5 Creating and declaring, properties. 8.4 Constructor and desttUctOr ne 8.4.1 Constructor of the class...... 8.4.2 Constructor of the base classes and ofthe member 8.4.3 Destuetormethad 8.5 Object 8.5.1 Declaring an object. 8.5.2 The members of an object 85.3Themediods ofan objec 8.5.4 Lifespan of an object... 8.6 Dynamic instantiation of an abject. 8.6.1 Declaring a dynamic object. 8.6.2 Instantiating a dynamic object 8.6.3 Freeing 8 GyNaMic OBJECT wrens 8.7 Class inheritance ..... 8.7.1 Syntax. B72 Redefining the methods..... 109 Part 3 : MANAGING WINDOWS, PAGES AND CONTROLS 1. MANAGING THE WINDOWS 19 11 Overview 1.2 Functions for managing the windows .. 1.3 MDI functions 14 Functions for menu management Table of Contents 7 8 2. MANAGING THE PAGES 123 2.1 Overview .. 2.2 Functions for page management 2.3 Functions for menu management .. 3. MANAGING THE "BACK" BUTTON IN A PAGE 3.1 Overview .. 8.1.1 Two methods can be used to manage the browser 3.1.2 Example of desynchronization .. 3.2 Preventing from using the "Back" button 3.2.1 Operating made... 3.2.2 Implementation ... 3.3 Managing the synchronization . 3.3.1 Overview... o 3.3.2 Defaut synchronization 3.4 Synchronization by programming 4. COMMUNICATING WITH THE USER OF WITH THE WEB USER 128 4. Overview... 4.2 The standard dialog boxes .... 4.3 The advanced dialog boxes 4.3.1 Oveniew 4.3.2 Directive question 4.3.3 Immediate input... 4.3.4 Message database. a 4.4 Customizing the dialog boxes 4.4.1 Customizing the system Information windows. 4.4.2 Stop customizing the system information windows as 4.4.3 Mulinguel dialog bores... . . 4.5 Automatically dose the dialog boxes nnn 4.6 Advanced communication with the user .. 4.6.1 Oveniew, 4.6.2The available WLanguage functions 2 aserecael BL 4.6.3 Menaginga dialog via cells... “ ne i 131 4.6.4 Managing dialog with pages... - 4.6.5 Managing a dialog via YesNa ard OKCanCe1 nnn oe 132, 4.7 Functions for managing the dialog boxes .. 5. MANAGING THE DRAG AND Drop 5.1 What is "Drag and Drop" 5.2 Automatic drag and drop ... 5.2.1 WinDev: The controls affected by the automatic crag and drop 5.2.2 WebDev: The controls affected by the automatic drag and drop 5.2.3 Configuing the default "Drag and Drop"... Table of Contents WINDEV. WEBDEV. WINDEVMobite 5.3 Programmed "Drag and Drop" 5.3.1 Principle 5.3.2 Progamming... so 5.4 "Drag and Drop" from the explorer B.A Pritip - 5.4.2 Functions specific to "Drag and Drop" "fromthe explorer. 5.4.3 Programming ..secrm: “ 5.5 Functions for managing Drag and Drop . 6. MANAGING THE CONTROLS 137 6.1 Overview 6.2 General functions for handling the controls .. 7._ PROPERTIES OF WINDOWS, PAGES AND CONTROLS 89 Part 4 : STANDARD FUNCTIONS 1._HANDUNG THE NUMERIC VALUES 49 "se "150 "0 1.4 Financial calculations 1.5 Functions for managing the numeric valves. 1.5.1 Miscellaneous functions. 1.5.2 Binary functions. 151 1.5.3 Matrix functions. — : sai sel 4 1.5.4 Financial functions. us wee 152 1.5.5 Statistical functions 152 (2. HANDLING THE CHARACTER STRINGS 153 2.1 Handling the content of a string .. fi 2.2 WinDev and the Unicode format 153 153 153 2.2.4 Whats the UNICODE form 2.2.2 WinDev and Unicode... 2.3 Handling the character strings in Pocket PC 2.4 Funetions for managing the character strings Table of Contents | 9

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy