
08-01-2001, 10:37 PM
|
|
Iron-Fisted Programmer
Retired Moderator * Guru *
|
|
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
|
|
Re: More variable issues
|
It will be hard. You will have to add a Replace line for every variable.
Dim strTemp as String
strTemp = UCase(txtStrengthCalc)
strTemp = Replace(txtStrengthCalc,"STR",CStr(iStr))
strTemp = Replace(strTemp,"AGI",CStr(agi))
strTemp = Replace(strTemp,"VIT",CStr(vit))
...
.Equation = strTemp
This is still easier than writing a full parser.
I think therefore I am... sometimes right. [img]images/icons/wink.gif[/img]
|
|