Good day,
I am bad at programming. Recently I've been reverse engineering a power display script. It's a fairly long code, so I'll just post the problematic part of it.
How to use methods within void Main?
I am bad at programming. Recently I've been reverse engineering a power display script. It's a fairly long code, so I'll just post the problematic part of it.
Code:
Void Main() { ... IMyTextPanel display = GridTerminalSystem.GetBlockWithName("Wide LCD panel") as IMyTextPanel; display.WritePublicText(... , false); } public string CurrentPowerUse( string ReactorCurrent, string SolarCurrent) { ... string RawPowerUse = ....;...