PythonScript Xojo Plugin

PythonParameters Class (console safe)

A class that represents a Python parameter block to use when calling functions.

PythonEntityBase
   PythonParameters

class PythonParameters

Constructors

PythonParametersA constructor that takes number of parameters as parameter.
PythonParametersA constructor that takes Ptr as parameter.

Properties

Count (console safe) Returns the number of parameters in the parameter block.
LastError (console safe)

Methods

BooleanValue (console safe) Sets or gets Boolean value at given index in the Parameter block.
ClearError (console safe)
DictionaryValue (console safe) Sets or gets Dictionary value at given index in the Parameter block. (Note this is of the type PythonDictionary)
DoubleValue (console safe) Sets or gets Double value at given index in the Parameter block.
Int64Value (console safe) Sets or gets Int64 value at given index in the Parameter block.
IntegerValue (console safe) Sets or gets Integer value at given index in the Parameter block.
IsBigInteger (console safe) Returns true if the Result is big integer of any kind.
IsBoolean (console safe) Returns true if the parameter at given index is Boolean
IsDictionary (console safe) Returns true if the parameter at given index is PythonDictionary
IsDouble (console safe) Returns true if the parameter at given index is Double
IsInteger (console safe) Returns true if the parameter at given index is Integer
IsList (console safe) Returns true if the parameter at given index is PythonList object.
IsObject (console safe) Returns true if the parameter at given index is Xojo or Real Studio object
IsString (console safe) Returns true if the parameter at given index is String
IsTuple (console safe) Returns true if the parameter at given index is Tuple (PythonParameters class instance)
ListValue (console safe) Sets or gets List value at given index in the Parameter block.
ObjectValue (console safe) Sets or gets Object value at given index in the Parameter block. In this case you will store or retrieve Xojo object from the Python parameter block.
StringValue (console safe) Sets or gets String value at given index in the Parameter block.
TupleValue (console safe) Sets or gets Tuple value at given index in the Parameter block. (Note this is of the type PythonParamters)
UInt64Value (console safe) Sets or gets UInt64 value at given index in the Parameter block.

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM