Skip to contentSkip to conversation

OF setprop question

DISCUSSION Mark A. Greer 2 participants 2 messages Jun 20, 2006 – Jun 21, 2006

lore
Share & tools
lore
#0 lore raw

What does OF do when you 'setprop' a property that doesn't already exist? Does OF create it?

What if it exists but the new prop requires more space than the old prop? Does it make space more space for the new property?

Thanks,

Mark

#1 lore raw
Quoted 2 lines

What does OF do when you 'setprop' a property that doesn't already exist? Does OF create it?

Yes.

Quoted 2 lines

What if it exists but the new prop requires more space than the old prop? Does it make space more space for the new property?

Yes.

Now that was easy :-)

Just out of interest, what in the wording of the OF spec didn't make this clear to you? Would be great to improve it ;-)

Segher