| Sorry, I forgot an '_' in my example reported .0 (correct is
TEST__MENU). Anyway the problem, as described in topic no. 1394, is
in CM_GET_HLP script (invoked to store site elements) that does not
intercepts .MEM files because the #CM_HLP_TYPE symbol that should be =
MEM, when .MEM files are managed, is empty!
Does anyone help me to solve this problem?
Thanks a lot.
Graziella
|
|
As mentioned in note 1394 #CM_HLP_TYPE will not be set in script CM_GET_HLP.
The temporary name of help-module (xxx.RNO or xxx.MEM) is stored in
#CM_SRC_OUTPUT. To get a correct value for #CM_HLP_TYPE insert the following
line
GET #CM_HLP_TYPE = FN$REVERSE(FN$EXTRACT(FN$REVERSE(#CM_SRC_OUTPUT),1,3))
after line
.IF #CM_SRC_OUTPUT EQS "" THEN .EXIT
in script CM_GET_HLP.
In this way both parts of the help-module will be stored. I didn't test all
options, where CM_GET_HLP is used, but it seems to work without any problem.
Another bug is, that the MEM-files will not be put to the formatted
help-library, if You do a restore of the help-modules. They will be restored
to the source help-library only.
Since I couldn't locate this error yet, I suggest to do a little work-around
like this (after You've restored the help-modules):
$LIB/EXTRACT=name__helpmodule/OUT=name__helpmodule.RNO name_of_source_helplib
$RUNOFF/OUT=name_helpmodule name__helpmodule
$LIB/INSERT name_of_formatted_helplib name_helpmodule.MEM
$DELETE name__helpmodule.RNO;*,name_helpmodule.MEM;*
Hope this will help a little bit,
Michael
|