Array is already defined
Vino
vino.bheeman at hotmail.com
Fri Jan 5 15:22:49 UTC 2018
Hi All,
Request your help on how to unset or delete an array, in the
below example, we get an error "Common is already defined".
Auto fn1 () {
Array!string Text;
Array!string Number;
return tuple(Text, Number);
}
Void main () {
static foreach(i; 0 .. 2) {
typeof(fn1()[i]) Common;
writeln(Common[]);
Common.delete or Common.Unset // Something similar like this
}
From,
Vino.B
More information about the Digitalmars-d-learn
mailing list