Shop OBEX P1 Docs P2 Docs Learn Events
Accessing Constants in an object — Parallax Forums

Accessing Constants in an object

PhilldapillPhilldapill Posts: 1,283
edited 2008-06-23 01:21 in Propeller 1
I'm starting to use Numbers.spin to convert a number into a formatted string. To do this, I need to pass the number to ToStr(Number,Format), and also pass a constant - the format. The format seems to be a constant in Numbers.spin, but I can't access it. Isn't there a way to access a constant in another file? Like adding a # in front of the name?

Comments

Sign In or Register to comment.