[DGD]1.1.52

Felix A. Croes felix at dworkin.nl
Fri Mar 5 18:23:42 CET 1999


diff -c dgd/src/Changelog:1.157 dgd/src/Changelog:1.160
*** dgd/src/Changelog:1.157     Thu Feb 11 15:16:52 1999
--- dgd/src/Changelog   Fri Mar  5 18:00:22 1999
***************
*** 1224,1226 ****
--- 1224,1239 ----
   - Fixed a bug in array exporting, introduced in the last assignment/swapping
     rewrite.
   - Fixed the bug in the fix.
+  - Added the constant `nil'.  If typechecking is 0 or 1 (in the config file),
+    nil has the value 0.  If typechecking has the value 2, nil is distinct from
+    integer zero.
+    String, object, array and mapping variables are initialized to nil.  Using
+    call_other() to call a non-existant function returns nil.  Variables holdin
g
+    an object become nil after the object has been destructed.  Indexing a
+    mapping with a non-existant index results in nil, and nil must be assigned
+    to delete an index:value pair; assigning 0 has the same effect only when
+    0 and nil are the same.
+  - allocate() now allocates an array of nil values.  New kfuns allocate_int()
+    and allocate_float() explicitly allocate arrays of those respective values.
+  - In a further bit of type matching cleanup, integer 0 and floating point 0.0
+    no longer test as equal.

ftp://ftp.dworkin.nl/pub/dgd/experimental/1.1.51-1.1.52.gz

Regards,
Dworkin

List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list