
Zhris
User
Nov 12, 2010, 5:21 AM
Views: 1693
|
|
Re: [hmida] transform If-then-else statemt to ?: opeator statement
|
|
|
Hi, Firstly what is your reason for doing this. The operator method is less readable than your original statements. Also, would it not be quicker to go through and do this by hand, unless of course you are dealing with hundreds or thousands of changes. It may take a while to write a script which performs your task to a suitable degree of accuracy (100%) if the statements aren't regular throughout. Chris
(This post was edited by Zhris on Nov 12, 2010, 5:23 AM)
|