develooper Front page | perl.perl6.internals | Postings from July 2002

assembler key syntax behaviour

Thread Next
Josef Höök
July 16, 2002 03:00
assembler key syntax behaviour
Message ID:
I have a couple of question regarding using keyed access in assembler.
Lets say we create an Perlarray:

new P0, .PerlArray
set P0,5 

Array with size 5. will call set_p_ic  ( ?  maybe im wrong here )

But what about setting size on multdimensional PMC's would it also be:

set P0,5,5,5 would try to call 

This will break things when having N dimensions..
I dont know if im missing something but wouldnt it be better to use KEY
structures when assigning sizes on PMC's eg:

set P0[5][5][5]

This would handle multidim's also wouldnt it be nice if we could do

new P0, .PerlArray[10]

Just some thoughts...


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About