On Tue, Dec 23, 2003 at 04:34:48AM +0100, Alexander Demenshin wrote:
[foo, bar, baz] = array_sscanf(...);
And if you need elements 1, 5, 7 only?
then you use %*x in the format to skip the ones you don't need.
Hmm... Just an idea... Why not pass "scalar" types by reference (avoid copying) and implement "copy-on-write"? :)
i believe this actially is being done. i know it is done for strings.
greetings, martin.