set the new info field
setinfo(p,&value);