Thread: Stack
View Single Post
Old 06-22-2009, 05:01 PM   #10
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,189

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Quote:
Originally Posted by Here-b-Trollz
Collapse Ehh?:
         // Add a value to the list.
        method add takes integer value returns nothing
            local list l = list.create()
            set l.next=.next
            set .next=l
            set .data=.data+1 //?
        endmethod
Collapse Aah.:
        method operator size takes nothing returns integer
            return .data
        endmethod
__________________
Anitarf is offline   Reply With Quote