R
Richy
Hi,
I have a script that is compiled like this:
provider = New Microsoft.VisualBasic.VBCodeProvider
compiler = provider.CreateCompiler
_results = compiler.CompileAssemblyFromSource(params,
_code)
but my script fails with arithmetic overflows (it's a Perlin Noise
function). I know how to turn the overflow check on and off within
the .Net environment, but that only applies to the project, not to the
dynamic script that my project compiles.
How do I turn the overflow checking off for my compiled script?
Cheers,
Richy
I have a script that is compiled like this:
provider = New Microsoft.VisualBasic.VBCodeProvider
compiler = provider.CreateCompiler
_results = compiler.CompileAssemblyFromSource(params,
_code)
but my script fails with arithmetic overflows (it's a Perlin Noise
function). I know how to turn the overflow check on and off within
the .Net environment, but that only applies to the project, not to the
dynamic script that my project compiles.
How do I turn the overflow checking off for my compiled script?
Cheers,
Richy