Hi
How can we write a macro which return a string.
Thank you
Return to where? Be more specific.
TString MacroReturningAString()
{
TString s;
...
return s;
}
Assume there is a long bash command of several lines you have to type by your keyboard. This long command has iterative words, so that you can create this whole command using loops in a macro and this macro returns this whole command. You can use this returned string in a bash script along with the macro. The macro generates the string and it is eventually used in bash.