www.digitalmars.com         C & C++   DMDScript  

DMDScript - weird bug

This is not what I was looking for, but I got it:

//----------------------
function foo() {}
var p
p[4]=foo
//----------------------

Produces: "Error: std.format formatArg". It's fixed if "p" is 
initialized to "new Array"

_______________________
Carlos Santander Bernal
Feb 05 2005