a=SETPROF("name",index,value) (returns previous value)
This sets the entry specified by the index of the requested profile. It will return the value of this entry prior to the modification you made.
Valid indices are from zero to 200. 201 is beyond the end of the profile.