Predefined System Constants

WIL has a number of built-in integer constants that can make your scripts much more readable. These start with the @-sign, and are case-insensitive.

 

 

Logical Conditions

 

@NO 

@OFF 

@TRUE 

@YES 

@ON 

@FALSE 

 

 

Window Arranging

 

@NORESIZE 

@STACK 

@ARRANGE 

@TILE 

@ROWS 

@COLUMNS 

 

Window Status

 

@NORMAL 

@ZOOMED 

@ICON 

@HIDDEN

@NOACTIVATE

 

Menu Handling

 

@CHECK 

@UNCHECK 

@DISABLE 

@ENABLE 

 

String Handling

 

@FWDSCAN 

@BACKSCAN

@CRLF

@CR

@LF

@TAB

 

System Control

 

@MAJOR 

@MINOR 

 

Error Handling

 

@CANCEL 

@NOTIFY 

@OFF 

 

Keyboard Status

 

@SHIFT 

@CTRL 

 

Array Sort and Search

 

@STRINGSORT

@LOGICALSORT 

 

OS Dependent

 

@CAPSLOCK 

@NUMLOCK 

@REGCLASSES 

@REGCURRENT 

@REGMACHINE 

@REGUSERS 

@SCROLLLOCK 

@WHOLESECTION 

 

BinarySort Control

 

@ASCENDING 

@DESCENDING 

@STRING 

@WORD1 

@WORD2 

@WORD4 

@FLOAT8 

 

INI File Management

 

@WHOLESECTION 

 

Mouse Control

 

@LBUTTON 

@RBUTTON 

@MBUTTON 

@LCLICK 

@RCLICK 

@MCLICK 

@LDBLCLICK 

@RDBLCLICK 

@MDBLCLICK 

@MPLAYLCLK

@MPLAYRCLK

@MPLAYMCLK

@MPLAYLDBLCK

@MPLAYRDBLCK

@MPLAYMDBLCK

@MPLAYLBUTTON

@MPLAYRBUTTON

@MPLAYMBUTTON

 

Miscellaneous

 

@GETPROCID

@GETEXITCODE

@MULTIPLE 

@NOWAIT 

@OPEN 

@ROWS 

@SAVE 

@SINGLE 

@SORTED 

@STACK 

@TILE 

@UNSORTED 

@WAIT 

 

Floating Point

 

@AMC

@AVOGADRO

@BOLTZMANN

@DEG2RAD

@e

@ELECTRIC

@EULERS

@FARADAY

@GFTSEC

@GMTSEC

@GOLDENRATIO

@GRAVITATION

@LIGHTMPS

@LIGHTMTPS

@MAGFIELD

@PARSEC

@PI

@PLANCKERGS

@PLANCKJOULES

@RAD2DEG

 

 

§         Constants

§         Predefined Floating Point Constants

§         Predefined String Constants

§         Predefined Dialog Constants

 

§         Reference

§         Step by step guide to learning WIL

§         Notes