ImageJ
Login
Register
Search
everywhere
only in this topic
Advanced Search
User-defined functions
‹
Previous Topic
Next Topic
›
Classic
List
Threaded
♦
♦
Locked
3 messages
Options
Loading...
Subscribe via email
Move topic
Pin topic
Unpin topic
Lock topic
Unlock topic
Delete this topic
Delete this topic
Change title and meta tags
Embed post
Permalink
bene
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Jun 30, 2015; 10:58am
User-defined functions
Hi all,
i wrote a makro and therefor used a user defined function...
function index(a, value) {
for (i=0; i<a.length; i++)
if (a[i]==value) return i;
return -1;
}
and its call
to get the index of an array value.
If i run the makro it fails as well as in clipboard debug-mode.
If i outcomment this function the makro works fine.
Any ideas what could be wrong??
thanks in advance,
bene
Tchoukatroc
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Jul 02, 2015; 3:36pm
Re: User-defined functions
CONTENTS DELETED
The author has deleted this message.
bene
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
More
Loading...
Reply to author
Edit post
Move post
Delete this post
Delete this post and replies
Change post date
Print post
Permalink
Raw mail
Jul 08, 2015; 10:48am
Re: User-defined functions
Hi,
thx for your reply....
well a.length works fine...
i became accustomed to declare variables and so i did like...
var image = .....
i erased this var declaration and now it works fine... :D
Free forum by Nabble
Disable Popup Ads
|
Edit this page