worked in 2.5.1 not in 2.7.2

Robert Mann robmann at gp-racing.com
Wed Jun 14 13:16:37 EDT 2006


forget it I shut the program down re-opened and it now works?

Robert Mann


-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Robert Mann
Sent: Wednesday, June 14, 2006 12:12 PM
To: How to use Revolution
Subject: worked in 2.5.1 not in 2.7.2


I just upgraded to the 2.7.2 but I wrote this in 2.5.1 and it was working?

not sure what this script error is telling me?

Type	Operators *: error in right operand
Object	Calc Spring Rate
Line	put tfr_mx_multiplier * fld "weight" + tfr_mx_additive into fld
"fr_mx_rate"
Hint	button id 1150 of card id 1002 of stack "K:/hypercard/data files/Spring
Calc.rev"

here is the script

on mouseUp
  if fld "weight" is empty then
    answer error "Please enter a weight."
    exit mouseUp
  end if

  put word 1 of fld "Select springcalc" into tfr_mx_multiplier
  put word 2 of fld "Select springcalc" into tfr_mx_additive
  put tfr_mx_multiplier * fld "weight" + tfr_mx_additive into fld
"fr_mx_rate"
end mouseUp

Robert Mann

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list