2022-07-04 07:34 AM
2022-07-04 08:02 AM
Just split the calculation up.
Instead of ...
Total = A*A+B*B+C*C+D*D+E*E+F*F
You can say ...
Total = A*A+B*B+C*C
Total = Total + D*D+E*E+F*F
I am too lazy to write out exactly what you had - but I think you will get the idea.
Barry.
2022-07-04 08:15 AM - edited 2022-07-04 08:17 AM
Breaking Long Code Lines - Graphisoft Community
Thank you
I solved it by using the "\" character.
And the problem was that it was wrong with us_unitF_areaf, so the "\" character also gave an error, but I solved all the problems by changing it to us_unitF_area. ^^
us_area_unit = us_unitA_Area * us_unitA_count + us_unitB_Area * us_unitB_count + us_unitC_Area * us_unitC_count \
+ us_unitD_Area * us_unitD_count + us_unitE_Area * us_unitE_count + us_unitF_Area * us_unitF_count \
+ us_unitG_Area * us_unitG_count + us_unitH_Area * us_unitH_count
2022-07-04 08:02 AM
Just split the calculation up.
Instead of ...
Total = A*A+B*B+C*C+D*D+E*E+F*F
You can say ...
Total = A*A+B*B+C*C
Total = Total + D*D+E*E+F*F
I am too lazy to write out exactly what you had - but I think you will get the idea.
Barry.
2022-07-04 08:15 AM - edited 2022-07-04 08:17 AM
Breaking Long Code Lines - Graphisoft Community
Thank you
I solved it by using the "\" character.
And the problem was that it was wrong with us_unitF_areaf, so the "\" character also gave an error, but I solved all the problems by changing it to us_unitF_area. ^^
us_area_unit = us_unitA_Area * us_unitA_count + us_unitB_Area * us_unitB_count + us_unitC_Area * us_unitC_count \
+ us_unitD_Area * us_unitD_count + us_unitE_Area * us_unitE_count + us_unitF_Area * us_unitF_count \
+ us_unitG_Area * us_unitG_count + us_unitH_Area * us_unitH_count