Another unusable name.

Hi Clifton,
I have just discovered that you cannot use the name 'userGroup' in an XML file. Here is my code:
<AGroup>
<pgStyleObject>
<![CDATA[
{ theStyle : "cursor",
propVal : "pointer,"}
]]>
</pgStyleObject>
<function name="myTrigger" event="trigger" params="" useTB="true">
<![CDATA[
tbfunction_pgTimer(false, 750, "AGroup");
tbfunction_pgTimer(false, 8000, "recorder"); //After 8 seconds the audio player will be displayed
]]>
</function>
<function name="myUser" event="user" params="evt,value" useTB="true">
<![CDATA[
if (!(keys.timesAllowed == 0))
{
tbfunction_pgTBObjSet("AGroup", "visible", false);
}
]]>
</function>
</AGroup>
If you change AGroup to userGroup this error message appears: SyntaxError: missing ) after formal parameters (line number 5) Perhap you knew about this. If not beware
John
UPDATE
Maybe it's not the name. I have have just got the same error message with another name 'pleaseWait' which is unlikely to be reserved for the system.
UPDATE 2
Once again, simply changing the name solves the problem. I changed it from <pleaseWait> to <waitGroup>. Not sure what's going one here.
I have just discovered that you cannot use the name 'userGroup' in an XML file. Here is my code:
<AGroup>
<pgStyleObject>
<![CDATA[
{ theStyle : "cursor",
propVal : "pointer,"}
]]>
</pgStyleObject>
<function name="myTrigger" event="trigger" params="" useTB="true">
<![CDATA[
tbfunction_pgTimer(false, 750, "AGroup");
tbfunction_pgTimer(false, 8000, "recorder"); //After 8 seconds the audio player will be displayed
]]>
</function>
<function name="myUser" event="user" params="evt,value" useTB="true">
<![CDATA[
if (!(keys.timesAllowed == 0))
{
tbfunction_pgTBObjSet("AGroup", "visible", false);
}
]]>
</function>
</AGroup>
If you change AGroup to userGroup this error message appears: SyntaxError: missing ) after formal parameters (line number 5) Perhap you knew about this. If not beware

John
UPDATE
Maybe it's not the name. I have have just got the same error message with another name 'pleaseWait' which is unlikely to be reserved for the system.
UPDATE 2
Once again, simply changing the name solves the problem. I changed it from <pleaseWait> to <waitGroup>. Not sure what's going one here.