[Aldor-l] exports and constants
Gabriel Dos Reis
gdr at integrable-solutions.net
Mon Jul 24 17:26:49 EDT 2006
Ralf Hemmecke <ralf at hemmecke.de> writes:
| > My understanding as show by the example in my previous post.
| >
| > Dynamic type :=
| > in the scope a variable can change type
| > ex :
| > a := 10
| > a := "ten"
| > is ok
| >
| > Static type :=
| > Variable can not change type
| > a := 10
| > a := 20
| > but not
| > a := "thirty"
|
| In Aldor you cannot have a: Integer and a: String in the same scope if
| they are variables. Constants are different.
still, you can use "pretend" like in C, no?
-- Gaby
More information about the Aldor-l
mailing list