wonder Expert Licensed User Longtime User Jun 7, 2019 #1 Hi! In Python whenever you open parentheses, there is no need for the continuation character. Cleaner: B4X: # Python vector.set( offset.x + input_magnitude.x * cos(a), offset.y + input_magnitude.y * sin(a) ) Ugly: B4X: ' B4X vector.set( _ offset.x + input_magnitude.x * cos(a), _ offset.y + input_magnitude.y * sin(a) _ )
Hi! In Python whenever you open parentheses, there is no need for the continuation character. Cleaner: B4X: # Python vector.set( offset.x + input_magnitude.x * cos(a), offset.y + input_magnitude.y * sin(a) ) Ugly: B4X: ' B4X vector.set( _ offset.x + input_magnitude.x * cos(a), _ offset.y + input_magnitude.y * sin(a) _ )