Documentation for SOOP API Library v1.0
Table of Contents

SOOP Constants

Constants used throughout the SOOP library


These constants are used throughout the library, for accessing common values in much the same fashion as Win32lib uses constants such as Window, EditText, and other similar ones.

  • const DBG_CLASS   Tells the debug class to output debug information from the Class enviroment.
  • const DBG_OBJECT   Tells the debug class to output debug information from the Object enviroment.
  • const this   Refers to the current object in question in methods.

    Documentation for SOOP API Library v1.0
    Table of Contents

    [const]
    DBG_CLASS

    Tells the debug class to output debug information from the Class enviroment.

    Category: SOOP Constants

    DBG_CLASS is expressly used in the Debug Class of the SOOP library, and is meant as a flag to with_debug(). It is used to determin which data should be outputted to the debug file, when a call to the method write is done. This flag can be combined with DBG_OBJECT via DBG_CLASS+DBG_OBJECT to tell the method write to write both Class and Object data out to the file.

    See Also: DBG_OBJECT, this


    Documentation for SOOP API Library v1.0
    Table of Contents

    [const]
    DBG_OBJECT

    Tells the debug class to output debug information from the Object enviroment.

    Category: SOOP Constants

    DBG_OBJECT is expressly used in the Debug Class of the SOOP library, and is meant as a flag to with_debug(). It is used to determin which data should be outputted to the debug file, when a call to the method write is done. This flag can be combined with DBG_CLASS via DBG_CLASS+DBG_OBJECT to tell the method write to write both Class and Object data out to the file.

    See Also: DBG_CLASS, this


    Documentation for SOOP API Library v1.0
    Table of Contents

    [const]
    this

    Refers to the current object in question in methods.

    Category: SOOP Constants

    The 'this' constant is used to determin which object is currently being used for such things as method_proc(), method_func(), method_id()'s with call_func()/call_proc(), and External Library Call-backs with method_call_back(). It's primary usage, is for calling other methods on the same object, or storing data on the current object in question. The 'this' variable is only valid within methods and cannot be used outside of a Object Scope. (Like with Normal Euphoria procedures, functions not explictly defined as a method, or in top level code.)

    See Also: DBG_CLASS, DBG_OBJECT