Debug
|
Purpose: |
Display a message in the browser's debugging console. |
|
Category: |
Debug |
|
Syntax: |
ConsoleLog "message" message The string or the (compound) variable to display. |
|
Example: |
SetVar [greeting] "Hey" ConsoleLog "A popular English greeting is: [greeting]" SetVar [greetingArray] "Hello,Hi,Hey,Hallo,Hoi" ConsoleLog "The most popular Dutch greeting is: [greetingArray(3)]" -> expected value: Hallo Tip: to view the browser console, press the F12 key. |
|
Purpose: |
Display array or object variable data in the browser's debugging console as a table |
|
Category: |
Debug |
|
Syntax: |
ConsoleTable "[myObject]" myObject The array or object variable to display. |
|
Example: |
CreateEmptyObject [myObject] SetVar [myObject.name] "Peter" SetVar [myObject.age] 32 SetVar [myObject.country] "United Kingdom" ConsoleTable "[myObject]" Tip: to view the browser console, press the F12 key. |
Created with the Personal Edition of HelpNDoc: Effortlessly Convert Your Word Doc to an eBook: A Step-by-Step Guide