Maximum Number of Lines / Commands in Macro (tech)

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:smile: :sad: :eek: :shock: :cool: :-x :razz: :oops: :evil: :twisted: :wink: :idea: :arrow: :neutral: :mrgreen:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Maximum Number of Lines / Commands in Macro (tech)

by Chris H » Fri Nov 27, 2009 12:44 pm

Hi,

Nope, it's max number of lines, doesn't matter how much or little is in those lines. If you're getting crazy stuff like that in a longer macro, I would suspect that the macro file might be corrupted. There was a problem with the copy/paste commands several versions ago that could cause this.

Maximum Number of Lines / Commands in Macro (tech)

by Admiral Ackguh » Fri Oct 16, 2009 9:11 pm

Typically, macros can have up to 99 usable lines, but I have run into cases where they seem to allow only 60 or 70.

Two of my macros are like that. Past a certain line number, to line 99, the macro is filled with the same dummy command (such as "GOTO 75"). I can delete or replace those dummies, but my changes don't save, and next time I edit, the dummies come back.

I suspect that a macro, like a programmable calculator*, has not only a maximum number of lines, but a maximum number of bytes. Not all commands use the same number of bytes; something like CLRSCR probably uses up only one, for the opcode; but the map-editing commands would need four bytes each.

I estimate 256 bytes as the maximum per macro.

* Anyone remember those?

Top