setBlockAttributes

entity:setBlockAttributes(tag: stringa, valore: numero, [tag2, valore2, ...: stringa]) → numero

<entity>:setBlockAttributes{tag1=valore1, tag2=valore2}

Data un entità (deve essere un insert) imposta gli attributi. Ritorna il numero di attributi settati.

Esempio 57. Esempio getBlockAttributes()

blk:setBlockAttributes(“data”, “02 gen 2004”)
blk:setBlockAttributes{blk2:getBlockAttributes}