Icon+Unicon/Intro: Difference between revisions

Content added Content deleted
Line 15: Line 15:
== Variables, Data Types, and Structures ==
== Variables, Data Types, and Structures ==


=== un-Declarations ===
=== un-Declarations, it's all about Scope ===


Icon and Unicon do not require strict static typing of variables as does languages like [[Pascal]], nor does it require type definitions to reserve space such as in languages such as [[C]]. In fact, variables may happily change type from one moment to the next. Knowing this you might expect that declarations are non-existent.
Icon and Unicon do not require strict static typing of variables as does languages like [[Pascal]], nor does it require type definitions to reserve space such as in languages such as [[C]]. In fact, variables may happily change type from one moment to the next. Knowing this you might expect that declarations are non-existent.