Develop faster ReportMagic Reports using C#

Is your C# stronger than your RMScript? Mine is :slight_smile:

Fortunately, you can use the [Execute:] or [File.Execute:] macros to do all that complex data manipulation in C# using LINQ.

[Execute:]
Simply use C# inline in rmscript to quickly perform powerful analyses:

It’s easy to get and set variables by treating the context argument as a dictionary. There is a slight compilation overhead, but there is a performance benefit when processing large datasets.

[File.Execute:]
image

Prefer to edit your C# in an IDE? Simply use the [File.Execute:] macro to execute an external .cs file.