C.67.  $world->movemacro

Abstract

$world->movemacro function: MOVEs a MACRO to another position

void $world->movemacro( name ,
  new_pos );
 
void $world->movemacro( number ,
  new_pos );
 

Moves the macro with the given name or number so that it occupies the position new_pos after execution of this function. Other macros might be moved up or down in result of this. If new_pos is negative or greater than the number of macros, the macro is moved to the last position.

If there are several macros with the given name, only the first one found is moved.