Difference between revisions of "TES5Edit Scripting Functions"
Jump to navigation
Jump to search
TES5Edit Scripting Functions (edit)
Revision as of 21:07, 16 September 2016
, 21:07, 16 September 2016→Pascal implementation
imported>DavidJCobb |
imported>DavidJCobb |
||
Line 440: | Line 440: | ||
* TES5Edit's Pascal implementation does not appear to support constructions such as <code>TList<Integer></code>. | * TES5Edit's Pascal implementation does not appear to support constructions such as <code>TList<Integer></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. |