Maximum file size for a macro?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Maximum file size for a macro?

Douglas Benn
I have written a macro which is about 400 lines long. Are their limitations to the size of a macro?

Thanks very much.

Dr. Douglas K. Benn BDS MPhil PhD DDR (RCR London)
Professor Emeritus
University of Florida
Apdo 189-4013
Atenas - 20501
Costa Rica

US toll free 1-888-609-6686
Tel/voice/fax: +506 2 446-6121  [country code is 506]

Cell: +506 8 361 2265

NOTE:  This communication may contain information that is legally
protected from unauthorized disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution or copying
of this communication is strictly prohibited.  If you have received this
message in error, you should notify the sender immediately by telephone
or by return email and delete this message from your computer.
Reply | Threaded
Open this post in threaded view
|

Re: Maximum file size for a macro?

Michael Doube
Not in my experience, and I've written some monsters.

I can recommend making the leap to plugins if your macros are becoming
unmanageably huge and / or slow.

Mike

Douglas Benn wrote:

> I have written a macro which is about 400 lines long. Are their limitations to the size of a macro?
>
> Thanks very much.
>
> Dr. Douglas K. Benn BDS MPhil PhD DDR (RCR London)
> Professor Emeritus
> University of Florida
> Apdo 189-4013
> Atenas - 20501
> Costa Rica
>
> US toll free 1-888-609-6686
> Tel/voice/fax: +506 2 446-6121  [country code is 506]
>
> Cell: +506 8 361 2265
>
> NOTE:  This communication may contain information that is legally
> protected from unauthorized disclosure.  If you are not the intended
> recipient, please note that any dissemination, distribution or copying
> of this communication is strictly prohibited.  If you have received this
> message in error, you should notify the sender immediately by telephone
> or by return email and delete this message from your computer.
>  
Reply | Threaded
Open this post in threaded view
|

Re: Maximum file size for a macro?

dscho
Hi,

On Mon, 10 Nov 2008, Michael Doube wrote:

> Douglas Benn wrote:
>
> > I have written a macro which is about 400 lines long. Are their
> > limitations to the size of a macro?
>
> Not in my experience, and I've written some monsters.

As you can see from

http://repo.or.cz/w/imageja.git?a=blob;f=ij/plugin/Macro_Runner.java;h=d1cbb52d978ae5041920fae45f3bae7d1371a899;hb=imagej#l91

there is no limitation except the heap size.

Ciao,
Dscho
Reply | Threaded
Open this post in threaded view
|

Re: Maximum file size for a macro?

Douglas Benn
In reply to this post by Douglas Benn
Dear Johannes,

Thank you very much!

Douglas

Dr. Douglas K. Benn BDS MPhil PhD DDR (RCR London)
Professor Emeritus
University of Florida
Apdo 189-4013
Atenas - 20501
Costa Rica

US toll free 1-888-609-6686
Tel/voice/fax: +506 2 446-6121  [country code is 506]

Cell: +506 8 361 2265

NOTE:  This communication may contain information that is legally
protected from unauthorized disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution or copying
of this communication is strictly prohibited.  If you have received this
message in error, you should notify the sender immediately by telephone
or by return email and delete this message from your computer.
>>> Johannes Schindelin <[hidden email]> 11/10/08 7:18 AM >>>
Hi,

On Mon, 10 Nov 2008, Michael Doube wrote:

> Douglas Benn wrote:
>
> > I have written a macro which is about 400 lines long. Are their
> > limitations to the size of a macro?
>
> Not in my experience, and I've written some monsters.

As you can see from

http://repo.or.cz/w/imageja.git?a=blob;f=ij/plugin/Macro_Runner.java;h=d1cbb52d978ae5041920fae45f3bae7d1371a899;hb=imagej#l91

there is no limitation except the heap size.

Ciao,
Dscho