Uninitialized Variables
- Posted by Chris Bensler <bensler at mail.com> Mar 23, 2002
- 479 views
I have thought of a way that we can determine if a variable is uninitialized or not. We can also set it back to being uninitialized. constant INF = (1e300*1e300), integer i i = -INF atom a a = -INF sequence s s = INF object o o = INF I tried to use NAN as well, but everything is equal to NAN!? NAN=1 NAN=-NAN NAN=INF NAN=-5039487 Is that proper behaviour? Chris