View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old March 19th, 2021, 03:56 PM
Double-check your line wrapping. The error is coming from line 3, according to the error message, and line 3 appears to be
- (container.parent.field[gWeight].value * .1)


Which appears to be intended as part of line 2, not its own line.


Oh, and that can be condensed:
container.parent.field[gWeight].value *= 0.9
Mathias is offline   #7 Reply With Quote