BUG global variable from comment

When I have commented my php code like so on my OnLoad:
/*
if ([glob_role]==‘AD’)
{
sc_field_readonly({RUG_EMPLID_HRA}, ‘on’);
{RUG_EMPLID_HRA}=[glob_user];
}
*/

then strangely enough glob_user will show up on the global variables of that form. That looks very much like a bug to me.
[glob_user] is not in an uncommented line. Hence this is a bug (annoying).

Indeed. Have you tried to comment with // ? It might be a flaw in the SC Parser.

Hello,

I have reported this issue to our bugs team for further testing.

regards,
Bernhard Bernsmann

/*
if ([glob_role]==‘AD’)
{
//dumb comment [glob_user]
sc_field_readonly({RUG_EMPLID_HRA}, ‘on’);
{RUG_EMPLID_HRA}=[glob_user];
}
*/
This one is screwwy too. The parser in the editor works fine, I just estimate that the parser in scriptcase is wrong.

I had the same problem…
so don’t use [ ] in coments … that’s all

Regards
Uwe