/*
Constants are data units with fixed values; their value never change while program running.
Format of constants sligthly different depending their data type.
This example demonstrate defining and usage of basic constants.
*/
PROCEDURE Main() CLS SET DATE GERM // String constants are strings enclosed by quotation marks ( "",'',[] ) ? "String :", "This is a string" // Numeric constants are strings of digits, decimal point (.) // and sign mark (+/-) ? "Numeric :", -123.56 // Logical constants are T or F enclosed by "." ? "Logical :", .T. // String constant converted to date type by CTOD() function ? "Date :", CTOD( "23.04.2012" ) RETURN // Main()