Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
788 Views, 3 Replies

C++ vs iLogic

Hello,

 

I took a semester of C++ (Non-Believers) last semester in school and am currently interning for a company. I've discovered iLogic and used some very simple iLogic for rounding and computing some dimensions.

 

I'm wondering how closely C++ and iLogic compare... I notice the if... Then.. End If... tab as well as while, return, exit, etc; all terms that refresh my memory, but I would have to relearn.  I wasn't very good at C++, and am wary of throwing myself into this and not being able to figure it out.

 

My current goal would be something along the lines of..

 

if "A" = "Exclude";

   X = "--";

   if "B" = "Exclude";

       Y = "--";

       if "C" = "Exclude";

           Z = "--";

       else Z = ThirdDistance;

   else Y = SecondDistance;

else X = FirstDistance;

 

return 0;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

A, B, C are Include/Exclude in an iAssembly.

X, Y, Z are Column Headings in a 

FirstDistance, SecondDistance, ThirdDistance are Parameter names in iAssembly