Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



Support self as a synonym for this

Previous Release Behavior

Methods could only reference their Class's properties and methods using the this keyword. 

Other languages such as Smalltalk and Python use self 

Current Release Behavior

You can use self instead of this.  

This is an option. By default we always use this but setting an option in the usual way will change from using this to self

For example 

export JBC_JPP2=self   [Unix]
set JBC_JPP2=self      [Windows]

Or add this on line 1 of your source: 

$option self

Was this article helpful?