Enumerations and sets

Top  Previous  Next

   FastScript supports enumerations. You can write in a script:

 

Form1.BorderStyle := bsDialog;

 

   Sets are not supported. However, you can use set constants in the following way:

 

Font.Style := fsBold;            // Font.Style := [fsBold] in Delphi

Font.Style := fsBold + fsItalic; // Font.Style := [fsBold, fsItalic]

Font.Style := 0;                 // Font.Style := []

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)