Difference between revisions of "TES5Edit Scripting Functions"

Jump to navigation Jump to search
→‎Pascal implementation: more information on the class "support"
imported>DavidJCobb
imported>DavidJCobb
(→‎Pascal implementation: more information on the class "support")
Line 442: Line 442:
* TES5Edit's Pascal implementation does not support <code>&</code> as a prefix for suppressing keyword parsing (e.g. <code>&For</code> to refer to a variable named "For").
* TES5Edit's Pascal implementation does not support <code>&</code> as a prefix for suppressing keyword parsing (e.g. <code>&For</code> to refer to a variable named "For").
* TES5Edit's Pascal implementation does not appear to support the <code>^</code> operator.
* TES5Edit's Pascal implementation does not appear to support the <code>^</code> operator.
* TES5Edit's Pascal implementation either does not support classes, or does not support the "constructor" keyword.
* TES5Edit's Pascal implementation has exceptionally poor support for defined classes and subclasses:
** The <code>constructor</code> keyword is not supported.
** Subclasses without a constructor don't trip up the parser, but attempting to instantiate them (e.g. <code>MyClass.Create</code>) causes TES5Edit to choke on the classname, which it sees as an undefined identifier. At this time, it's not known whether custom classes can actually be ''used'' in an xEdit script.
** One can safely assume, then, that the classes and functionality available to one is limited by both the Delphi version (presently unknown) and the JVCL version (presently unknown) that TES5Edit uses.
** One can safely assume, then, that the classes and functionality available to one is limited by both the Delphi version (presently unknown) and the JVCL version (presently unknown) that TES5Edit uses.
* TES5Edit's Pascal implementation does not appear to support the <code>is</code> or <code>as</code> keywords. However, <code>TObject</code> and its subclasses offer a <code>ClassName</code> method.
* TES5Edit's Pascal implementation does not appear to support the <code>is</code> or <code>as</code> keywords. However, <code>TObject</code> and its subclasses offer a <code>ClassName</code> method.
Anonymous user

Navigation menu