Python3Script Xojo Plugin

Python3Parameters Class (console safe)

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

Python3EntityBase
   Python3Parameters

class Python3Parameters

Constructors

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

Properties

CountReturns the number of parameters in the parameter block.
LastError

Methods

BooleanValueSets or gets Boolean value at given index in the Parameter block.
BytesValueSets or gets bytes Python memoryblock value at given index in the Parameter block.
ClearError
DictionaryValueSets or gets dictionary value at given index in the Parameter block.
DoubleValueSets or gets Double value at given index in the Parameter block.
FitsInInt32Returns true if the value at given index fits into 32 bit integer.
Int32ValueSets or gets Int32 value at given index in the Parameter block.
Int64ValueSets or gets Int64 value at given index in the Parameter block.
IsBooleanReturns true if the parameter at given index is Boolean
IsBytesReturns true if the parameter at given index is Python3Bytes.
IsDictionaryReturns true if the parameter at given index is Python3Dictionary.
IsDoubleReturns true if the parameter at given index is Double
IsIntegerReturns true if the parameter at given index is Integer. This means Integer from Python’s perspective. Which from Xojo’s perspective can be any kind of Integer. Python does not differentiate between them.
IsListReturns true if the parameter at given index is PythonList object.
IsObjectReturns true if the parameter at given index is Xojo or Real Studio object
IsStringReturns true if the parameter at given index is String
IsTupleReturns true if the parameter at given index is Python Tuple (Python3Parameters).
ListValueSets or gets List value at given index in the Parameter block.
ObjectValueSets 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.
StringValueSets or gets String value at given index in the Parameter block.
TupleValueSets or gets tuple value (Python3Parameters) at given index in the Parameter block.
UInt64ValueSets 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