Difference between revisions of "TES5Edit Scripting Functions"

Jump to navigation Jump to search
136 bytes added ,  21:07, 16 September 2016
imported>DavidJCobb
imported>DavidJCobb
Line 440: Line 440:
* TES5Edit's Pascal implementation does not appear to support constructions such as <code>TList&lt;Integer&gt;</code>.
* TES5Edit's Pascal implementation does not appear to support constructions such as <code>TList&lt;Integer&gt;</code>.
* Object classes such as TList and TStringList are very primitive; methods like AddRange are missing, and their Create constructors don't accept arguments.
* Object classes such as TList and TStringList are very primitive; methods like AddRange are missing, and their Create constructors don't accept arguments.
* If you try to store a Variant (e.g. the return value of GetElementNativeValues) in a Float variable, then that Float will throw type mismatch errors when passed to native methods that should accept floats (e.g. FloatToStr).
* If you try to store a Variant (e.g. the return value of GetElementNativeValues) in a Float variable, then that Float will throw type mismatch errors when used in mathematical expressions (e.g. <code>floatvar + 0</code>) or passed to native methods that should accept floats (e.g. FloatToStr). You actually have to assign the variable to itself for it to work.


The reference documentation below appears to match what TES5Edit provides.
The reference documentation below appears to match what TES5Edit provides.
Anonymous user

Navigation menu