Arrays
Duke Normandin <[email protected]> Mon, 18 Oct 2021 16:13:50 -0600
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
Pike v8.0 release 702 running Hilfe v3.5 (Incremental Pike Frontend)
> array(string) flat = ({"this", "that", "the", "other"});
> flat[1];(4) Result: "that"
> flat[1]=3;
(5) Result: 3
> flat[1];
(6) Result: 3
I was under the impression that array(string) would exclude any
other data types but strings.
What's going on?
--
Duke