Hi, I am attempting to perform the simple math function seen below, and I am just wondering how to write this correctly to avoid these errors. (**Error**:Undefined variable 'ab'. 'short' assumed.**Error**:Unexpected token ')'**Error**:Missing ';' before ')'**Error**:Unexpected ')' during parsing)

RobotC does not support such algebraic function layouts. They must usually be fully written out like the above.

_________________A.K.A. inxt-generationSelf-proclaimed genius, and future world dominator.My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth DoctorBow down to Nikola Tesla, King of the Geek Gods.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum