Dumas Enchanter
Joined: 11 Feb 2003 Posts: 511 Location: USA
|
Posted: Sat Jul 22, 2006 9:46 pm
When things stop working... |
I'll set this up by showing what I have. This is for Gemstone 4.
the trigger:
Code: |
#TRIGGER {b} {scarnum = %gsl( b);numtobin @scarnum;scarbin = @storage} "wondsandscars" |
the alias numtobin:
Code: |
#ALIAS numtobin {storage = "";#VAR number %1;#if (@number=0) {#ABORT 1};#UNTIL (@number=0) {#if ((@number\2)=1) {storage = %concat( 1, @storage);#MATH number (@number/2)} {storage = %concat( 0, @storage);#MATH number (@number/2)}}} "wondsandscars" |
This worked not one day ago, but now it stopped. It's bad enough that Gemstone doesn't send the gsl codes for wounds and scars when you sign on.
Any idea on why it would stop assigning the proper binary string to scarbin? |
|