.56 version varcalc not working

Discussion of Inner Space

Moderators: Lavish Software Team, Moderators

Post Reply
bountycode
Non-Subscriber
Posts: 22
Joined: Mon Jul 12, 2004 8:27 am

.56 version varcalc not working

Post by bountycode » Fri Dec 31, 2004 2:51 pm

using this code from the tutorial

Let's see how to display the numbers 1 through 10 in the console:
function main()
{
declare count int 1
do
{
echo ${count}
varcalc count ${count}+1
}
while ${count}<11
}

this worked fine until version .56 of IS
now the exact code not changed gives me this error


unparsable in Calculation: '$'
varcalc 'count' failed. Could not calcualte '${count}+1'
Dumping script stack
------------------------
-->test:12 main() varcalc count ${count}+1

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Fri Dec 31, 2004 3:54 pm

It's not specifically varcalc, it's all commands. I'll have a new version up shortly with this fixed, thanks for the report.

Lax
Owner
Posts: 6634
Joined: Fri Jun 18, 2004 6:08 pm

Post by Lax » Fri Dec 31, 2004 5:23 pm

0.57 is now up

Post Reply