Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code in variables or resources
#5
The following code, after being compiled into an .exe, executes successfully. It seems that the text below #ret has been successfully embedded into the .exe.

What I need, however, is to retrieve the text within a specific sub-function (#sub xxx) and embed that into the generated .exe. How can this be achieved?

Macro CsFunc_T2
Code:
Copy      Help
out

str R=CsFunc("" "hello")
out R

#ret
public class Class1
{
;;;;public static string StaticFunc(string s)
;;;;{
;;;;;;;;return s;
;;;;}
}


Messages In This Thread
Code in variables or resources - by Davider - 08-03-2025, 01:50 PM
RE: Code in variables or resources - by Gintaras - 08-03-2025, 02:27 PM
RE: Code in variables or resources - by Gintaras - 08-03-2025, 02:33 PM
RE: Code in variables or resources - by Davider - 08-04-2025, 12:33 AM
RE: Code in variables or resources - by Davider - 08-04-2025, 03:08 AM
RE: Code in variables or resources - by Gintaras - 08-04-2025, 03:48 AM
RE: Code in variables or resources - by Davider - 08-04-2025, 04:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)