Add tests/35_type_hardening.claro from Claro v1.17.26 zip
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
SET score NUMBER 10
|
||||||
|
TYPE OF score AS kind
|
||||||
|
SAY kind
|
||||||
|
CHECK TYPE score IS NUMBER
|
||||||
|
SET name TEXT "Jon"
|
||||||
|
TYPE OF name AS nameKind
|
||||||
|
SAY nameKind
|
||||||
|
SET happy YESNO YES
|
||||||
|
TYPE OF happy AS happyKind
|
||||||
|
SAY happyKind
|
||||||
|
NEW Player player
|
||||||
|
TYPE OF player AS playerKind
|
||||||
|
SAY playerKind
|
||||||
Reference in New Issue
Block a user