DWScript is a strongly-typed language, meaning every variable and expression has a specific type known at compile time. This ensures better performance, safety, and tooling support.
These are the fundamental building blocks of most scripts.
True or False values.Types used to organize and group data.
DWScript includes specialized types for specific domains or dynamic behavior.
DWScript provides several ways to move data between types:
Integer to a Float.Type(Value) syntax for potentially unsafe conversions..ToString, .ToInt, etc., for semantic conversions.var i: Integer := 10;
var f: Float := i; // Implicit
var s: String := i.ToString; // Helper method DWScript is fully Unicode-aware. You can use Unicode characters in variable names, function names, and other identifiers.
var ÿ := 'Unicode variable';
PrintLn(ÿ ); Unicode variable