if (port==1) { treenode thelist = getvarnode(current,"componentlist"); treenode thesum = getvarnode(current,"targetcomponentsum"); setnodenum(thesum,0); int cantidad_carga1= getlabel(current,"combinar1"); setnodenum(cellrowcolumn(thelist,1,1),cantidad_carga1); inc(thesum,cantidad_carga1); int cantidad_carga2= getlabel(current,"combinar2"); setnodenum(cellrowcolumn(thelist,2,1),cantidad_carga2); inc(thesum,cantidad_carga2); }