Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automatically convert and include scripts when generating the exe
#12
Use code like in the last chapter of https://www.libreautomate.com/editor/Cla...jects.html

Then the class file must be not in a project.

Code:
Copy      Help
// class "ClassHH.cs"
/*/ role miniProgram; define TEST; /*/

#if TEST
TaskB.Thread(5);
#endif

static class TaskB
{
    public static void Thread(int x)
    {

        dialog.show(null, $"TaskB, x={x}");
    }
}

In script Example100.cs add /*/ c ClassHH.cs; /*/


Messages In This Thread
RE: Automatically convert and include scripts when generating the exe - by Gintaras - 03-31-2024, 12:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)