Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Allocation? Function!

From: robbo1mark::aol::com at: 3-Aug-2001 5:58

Just trying to guage the lists opinion on the utility of a new function proposal ALLOCATION? This would return the allocated size of series! values and would operate as follows.
>> a: make block! 16
== []
>> ALLOCATION? a
== 16
>> insert a 1
== [1]
>> ALLOCATION? a
== 16
>> ALLOCATION?/used a
== 1
>> ALLOCATION?/free a
== 15 What do you think? would this be useful? cheers, Mark Dickson