cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

parameter buffer in macros

Anonymous
Not applicable
Hi!

I would like to use macro and i would like to "transfer" several values to the macro. Is there any way to just tranfer a parameter buffer when using a macro??

for example

main 3D script:
put 0, 0, 15,
a, 0, 15,
a, b, 15,
0, b, 15 (etc.etc)

call "cprism_creator" parameters all



cprism_creator script:

cprism_ top, bottom, side, nsp/3, h, get(nsp)
1 REPLY 1

runxel
Ace
This is exactly how it works.

There can be only one buffer, so a macro will have the same stack as the main object, and can modify the stack.
Mostly AC 26 on Mac | Author of SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!