in reply to problem with creating constants from scalar
Also, you might want to consider using the Readonly module.
duff