Thx musicmusic
I know that day would come, spending time on my style
After some problems I started over at zero and realised, that any whitespace-character in $set_global() and $set_style() in front of the value makes the function invalid:
ok:
$set_global(variable name,variable value)
ok (white space after 'variable value'):
$set_global(variable name,variable value )
ok (new line after comma):
$set_global(variable name,
variable value)
not ok (white space before 'variable value')
$set_global(variable name, variable value)
I used some space between , (comma) and $rgb() to make the parts better visible ('kay, not really neccessary), but more then that at $set_style() where the definitions are longer due to $if()- and $strcmp()-statements.