The docuemntation at:
This is identical to the documentation in the CHM file that comes with the product and the Visual Studio help - the followign statement is totally different from your sample:
DEFINE cheapProducts AS
FROM ProductExtent AS product
WHERE product.unitPrice < 1.0;
FROM s IN nineties
WHERE cheapProducts.name LIKE "Bug*"
Your sample seems to simply define a synonym for an Extent or something like that - in fact in your sample is confusing:
DEFINE EXTENT scrap FOR Employee
IN this context what ius Employee - a persisted class? Why would I not use EmployeeExtent? And is it possible to actually define a statement e.g "DEFINE EXTENT scrap FOR employee where employee.status = "Retired""