running scripts ?

From the terminal I type :global baseball;

then from /environment>print

“baseball”=[:nothing]

This I understand.

But when I create a script that reads:

:global cello;

and run that script in winbox, nothing shows going back to terminal in reference to the cello variable from /environment>print

Why would the cello script not create a variable named cello?

Thanks,

check
/system script environment print

USER NAME VALUE

0 admin a
1 admin b
2 admin baseball

There is no cello variable when checking
/system script environment print

Any other ideas?

I see my problem. I had a : after cello instead of ;

Now the script works.