2011-01-05 12:55 PM
s1 = '20 Litre' s2 = '70 Litre' s3 = '90 Litre' s4 = '100 Litre' s5 = '120 Litre' VALUES 'size' s1, s2, s3, s4, s5 IF (size = s1) THEN A = 0.22 B = 0.35 ZZYZX = 0.575 adb = 'HOL004' ENDIF IF (size = s2) THEN A = 0.41 B = 0.44 ZZYZX = 0.81 adb = 'HOL005' ENDIF etc LOCK 'adb'Although the object's dimensions change correctly, the locked text parameter does not. Any ideas?
2011-01-05 01:35 PM
s1 = '20 Litre' s2 = '70 Litre' s3 = '90 Litre' s4 = '100 Litre' s5 = '120 Litre' VALUES 'size' s1, s2, s3, s4, s5 IF (size = s1) THEN A = 0.22 B = 0.35 ZZYZX = 0.575 adb = 'HOL004' PARAMETERS adb=adb ENDIF IF (size = s2) THEN A = 0.41 B = 0.44 ZZYZX = 0.81 adb = 'HOL005' PARAMETERS adb=adb ENDIF etc LOCK 'adb'
2011-01-05 02:22 PM