Hi to all,
I'm looking for a code snippet to merge two codeblocks, something like:
Has anybody done this or a similar thing before?
I'm looking for a code snippet to merge two codeblocks, something like:
FUNCTION Codeblock_Merge( cCodeblock1, cCodeblock2 )
// Returns a codeblock with the parameters and functions of both codeblocks <cCodeblock1> and <cCodeblock2>
// Example: cCodeBlock1 := "{ | parameter1| function1( parameter1) }
// cCodeBlock2 := "{ | parameter2| function2( parameter2) }
// cCodeBlock := "{ | parameter1, parameter2| function1( parameter1), function2( parameter2) }
LOCAL cCodeblock := cCodeblock1 + cCodeblock2
RETURN cCodeblockHas anybody done this or a similar thing before?
Windows 11 Pro 22H2 22621.1848
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Harbour 3.2.0dev (r2008190002)
FWH 23.10 x86