I am trying to copy a MACRO into another MACRO within a fmf file.
Maybe its the best to show you guys the code of the fmf file:
DEFAULT_MACRO VAR1 "something" DEFAULT_MARCO VAR2 "anything" // ... some (uninteresting) code ... DEFAULT_VALUE VAR1 "$(VAR1)" DEFAULT_VALUE VAR2 "$(VAR2)" // ... some (uninteresting) code ... INCLUDE \ [ \ set logger [open c:/log.txt w+]; \ puts "MACRO VAR2 VAR1"; \ puts $logger $(VAR1);\ puts $logger $(VAR2);\ ]
So, I want to copy the content of VAR1 into VAR2 (important line: puts "MACRO ...";). The expected result of log.txt is therefore:
something something
However, it is always something anything
I tried many varieties for this code, experimented with the syntax and so on.But nothing works so far.
How can I copy the values?
Thank you very much
ben