How to use IDEA equations in scripts and custom functions
Forums
IDEA has over 100 functions that can be used in the equation editor. The program has functions to manipulate character, numeric and time fields to name just a few. You can also access all these functions in IDEAScript and Custom Functions by putting an i in front of the function. So in the equation editor you use the @mid() function, if you wish to use it in a script or a custom function put an i in front of it like imid() to access it.
Oh, no worries - I am good,
Oh, no worries - I am good, just used split instead of simplesplit.
I guess what might worry me is if one of my users has simple split in one of their projects, and we move to automate it, we might have to write our own 'one off' function to replicate a function already in the system. '@' functions without 'i' equivalents will mean more work in automation...but I will cross that bridge....you know. :)
I don't think you can do it,
I don't think you can do it, the custom function seems to be limited to the i functions and visual basic commands, you can't use any ideascripting commands like task and database in your custome function.
One way to get around this is that you can have multiple functions within your custom function, so you could copy the code from the custom function you want to reference and then just call it through a call function.
Let me know if that makes sense if not I will post an example for you.
Thanks,
Thanks,
I followed your advice and that worked fine!
BTW, I wrote a custom function for Salman and would've shared it but Drupal wouldn't let me upload a file of .ideafuc type.
Is there a way to do it, or is that not something that you'd prefer? I'm ok either way.
Hi Rob, thanks for adding to
Hi Rob, thanks for adding to the site, I appreciate it. My custom functions use .ideafunc and not .ideafuc, did yours have a typo or do you have a version of IDEA that saves with that file extension? If so let me know and I will update the list of acceptable file types.
Ooops, just a typo in my post
Ooops, just a typo in my post. Here's the filename I tried to add to my post: EmptyParentheses.ideafunc . I cut & pasted this time to avoid any more embarrassment!
Or maybe it's not allowed where I was doing it? I tried to upload as part of a post, but a more careful reading says "You can upload up to 5 images of png, gif, jpg or jpeg.". So it looks like it's not possible as part of a post? Is there somewhere else to do it?
Rob, when you post a comment
Rob, when you post a comment you should have two places to upload items, one for images and another for files. You should have something called
Brian,
Brian,
That makes sense. Audimation (US Support) told me yesterday that the 'i'functions are deprecated, which was not comforting.