The phremove instruction removes a phrase from a talkfile.
Synopsis
phremove(type.phrase,type.talk)
Description
The phremove instruction removes the phrase specified by the type.phrase argument from the talkfile specified by the type.talk argument. The valid values for type.phrase are 1 through 65,535. The valid values for type.talk are 1 through 16,383. type.phrase must be a valid phrase id. type.talk may have the value -1. If type.talk is -1, then the talkfile id used is the current talkfile. Do not use a character data type as an argument.
If the phremove instruction is successful, it returns the phrase id of the phrase removed in register 0. If the instruction is not successful, it returns a negative value in register 0.
Example
In the following example, phrase 205 is removed from talkfile 19.
load(sh.TALKID,19)
phremove(205,int.TALKID)
In the following example, phrase 117 is removed from talkfile 10.
load(ch.TALKF,10)
load(int.PHR,117)
phremove(int.PHR,ch.TALKF)