Looking for help in "formatting" iLogic Code

Looking for help in "formatting" iLogic Code

Anonymous
Not applicable
1,122 Views
4 Replies
Message 1 of 5

Looking for help in "formatting" iLogic Code

Anonymous
Not applicable

I'm looking for formatting tips or instructions.  I thought I came across some instructions within 2012 Wiki Help on being able to "collapse" code by using single or double quotation marks.  Does anyone know where I saw this?  I've spend most of the weekend looking but was unable to find it again.

 

Other tips like using an underscore to continue code to the following line within iLogic would also be helpful.

0 Likes
Accepted solutions (1)
1,123 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Accepted solution

what you are looking for is in Help>ilogic>Rules and Forms>Work with Rules>Work with Collapse Code Region.

 

The syntax is a single quote, followed by a left square bracket. To end, insert a single quote followed by a right square bracket.

 

'[

<your code here>

']

 

Hope that helps.

 

Dan

 

 

Message 3 of 5

Anonymous
Not applicable

Thank you!  That's exactly what I was looking for!

0 Likes
Message 4 of 5

Anonymous
Not applicable

what is the advantage in collapsing your ilogic code?

0 Likes
Message 5 of 5

Anonymous
Not applicable

When you have lots of code, it just allows you to hide some section of code. That way you don't have to keep scrolling up and down. That's all.

0 Likes