Difference between revisions of "TES5Edit Scripting Functions"
Jump to navigation
Jump to search
I can't seem to find much documentation on Delphi, and not for lack of trying. Not a very good sign, that.
imported>DavidJCobb (→Script User Interface: Found more stuff!) |
imported>DavidJCobb (I can't seem to find much documentation on Delphi, and not for lack of trying. Not a very good sign, that.) |
||
Line 337: | Line 337: | ||
! scope="col" style="background-color: #DDDDDD" | Note | ! scope="col" style="background-color: #DDDDDD" | Note | ||
|- align="left" style="background-color: #F8F8F8" | |- align="left" style="background-color: #F8F8F8" | ||
| scope="row" | <b>TComboBox</b> || [http:// | | scope="row" | <b>TComboBox</b> || [http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/StdCtrls_TComboBox.html TComboBox] || Combobox (a drop-down you can type into) || none || Set the <code>Style</code> property to <code>csDropDownList</code> to disallow custom text entry, mimicking the function of a typical drop-down menu | ||
|- align="left" style="background-color: #EEEEEE" | |- align="left" style="background-color: #EEEEEE" | ||
| scope="row" | <b>TForm</b> || [http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tform.html TForm] || A dialog? || ExportImportTexts.pas || | | scope="row" | <b>TForm</b> || [http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tform.html TForm] || A dialog? || ExportImportTexts.pas || | ||
Line 405: | Line 405: | ||
=== Pascal implementation === | === Pascal implementation === | ||
TES5Edit appears to use [http://jvcl.delphi-jedi.org/JvInterpreter.htm JVCL]. A few details can be found below. | TES5Edit appears to use [http://jvcl.delphi-jedi.org/JvInterpreter.htm JVCL] to interpret Delphi, a variant of Pascal. A few details can be found below. | ||
* TES5Edit's Pascal implementation does not appear to support function overloading. | * TES5Edit's Pascal implementation does not appear to support function overloading. | ||
* In TES5Edit's Pascal implementation, values are returned by assigning to <code>Result</code>, rather than by assigning to the function name. | * In TES5Edit's Pascal implementation, values are returned by assigning to <code>Result</code>, rather than by assigning to the function name. |