Caled Sorcerer
Joined: 21 Oct 2000 Posts: 821 Location: Australia
|
Posted: Thu Jan 08, 2004 4:28 pm |
Its late and I'm tired...but basically, use a database variable.
#TR {(*) (%d)~% (*) (%d)~% (*) (%d)~%} {
#ADDKEY praclist %replace(%1," ","") %2 //The %replace bit strips any spaces from the string
#ADDKEY praclist %replace(%3," ","") %4
#ADDKEY praclist %replace(%5," ","") %6
}
#AL chk (#SH %db(@praclist,%1}
SO... to check your percentage in food..., type
chk createfood |
|