The Daily Click ::. Forums ::. Klik Coding Help ::. Negative numbers in global values
 

Post Reply  Post Oekaki 
 

Posted By Message

ffomega



Registered
  05/04/2005
Points
  216
5th November, 2010 at 16:47:16 -

I am making a kind of calculator for my program, and I am using sub-applications. In the sub-app, certain values are supposed to display as negative values (with the minus symbol), and then stored into global values. While this works just fine, and these values can later be called by the main application, the negative symbol for the counters I have to display the global values do not appear.

Example:

in the main app, a counter is supposed to display a global value of -5 (set by a counter from the sub-app). It will calculate successfully but does it shows 5 instead of -5.

So, does this mean that negative integers cannot be stored in the global values...or is there a syntax which forces viewing of the negative symbol?

 
n/a

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
5th November, 2010 at 18:07:27 -

I can't reproduce this bug - I did what you said, but it worked fine for me.
Please post an example file.

Sounds like maybe you're using a font that doesn't have a "-" character, or maybe there's something covering it - something simple like that?
What happens if you use a string instead of a counter to display the value?

 
n/a

ffomega



Registered
  05/04/2005
Points
  216
5th November, 2010 at 21:57:25 -

That's alright I found a work-around that solved my problem. Now if I could just get my hands on the archive object I'd be all set

 
n/a
   

Post Reply



 



Advertisement

Worth A Click