set the info field

setinfo(ptr,&value);