Tuto WEBDEV 25
438 Part 13: The WLanguage basics 8. Close the code window (click X at the top right corner of code editor). ▶ Let’s now run the page test: 1. Click among the quick access buttons (or press F9). 2. Click the "Compare two strings" button. The message indicates that the comparison is not correct. 3. In the edit control, type "WEBDEV" in uppercase characters and click the "Compare two strings" button. The WEBDEV word is found. 4. Modify the content of edit control (by replacing "WEBDEV" by "WEBDEV" for example) and click the button. The WEBDEV word is also found. 5. Close the browser. Details of another variable type: the arrays The arrays are a common type of variable. An array is a structured type that is used to group a set of elements of the same type. Each array element can be directly accessed by its subscript. Specific WLanguage functions are used to handle the arrays and their elements. These functions start with "Array". Declaration The declaration of an Array variable is performed as follows: <Array name> is array of <Type of array elements> For example: arrString is array of strings arrInt is array of int
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==