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?

Dynamic Objects

Dynamic Objects or JabbaScript allows for a look and feel that matches modern object oriented programming languages.

  • Dynamic Objects: Built-in Methods Dynamic Objects contains a number of built-in methods that can be applied to any
  • Method: $append() Description The $append() method allows you to add (append) a value to the end of
  • Method: $classname() Description The $classname() method returns the name of the class as a text strin
  • Method: $clear() Description The $clear() method clears (deletes) all the members (properties) fro
  • Method: $dump() Description The $dump() method displays the internal contents of an object.  Synt
  • Method: $fromjson() Description The $fromjson() method converts a valid JSON string to an object. Thi
  • Method: $insert() Description The $insert() method inserts a value before a specified position in a
  • Method: $isfile() Description The $isfile() method is used to determine if a variable is a file var
  • Method: $isobject() Description The $isobject() method is used to determine if a variable is an objec
  • Method: $isproperty() Description The $isproperty() method is used to determine if a variable is a prop
  • Iteration: $iterator Description $iterator is a constructor for the Iterator class. When an object of
  • Method: $objecttype() Description The $objecttype() method returns the type of the object.  Syntax var-
  • Method: $prepend() Description The $prepend() method allows you to insert a new value at the beginni
  • Method: $setboolean() Description The $setboolean() method allows you to create boolean values in JSON
  • Method: $setnull() Description The $setnull() method sets a value to null in an object or an array.
  • Method: $size() Description The $size() method returns the number of properties in an object or t
  • Method: $sort() Description The $sort() method sorts the properties in an object, optionally spec
  • Method: $tojson() Description The $tojson() method converts an object to a JSON string and optional
  • Method: $delete() Description The $delete() method deletes a property from an object or array.  Syn
  • Method: $lasterror() Description The $lasterror method returns an object with the results of a $fromjs
  • Method: $refcount() Description The $refcount() method returns the number of variables that reference
  • Method: $valuetype() Description The $valuetype() method returns type of an object's property.   Synta
  • Dynamic Objects: Object Creation There are 2 special methods, otherwise known as magic methods in other languages.
  • Dynamic Objects: Instance Methods Other than the Dynamic Objects Built-in methods, you can create your own methods
  • Dynamic Objects: Static Methods A Static Method is one that can be used without creating an object. This means th
  • Dynamic Objects Description JabbaScript is the name given to the new language extensions to the e
  • Dynamic Objects: Built-in Classes Dynamic Objects provides the following built-in classes. All built-in classes sta
  • Dynamic Objects: $system Class The following methods can be utilized from the $system class: $system::getemulati
  • Dynamic Objects: $file Class The following methods can be utilized from the $file class: $file::getstats() $fi
  • Dynamic Objects: $persistent Class The following methods can be utilized from the $persistent class: $persistent::se
  • Dynamic Objects: $terminal Class The following methods can be utilized from the $terminal class: $terminal::termin
  • Dynamic Objects: $development Class The $development class contains general tools for Dynamic Objects developement. I
  • Dynamic Objects: $vararg class Description The methods in the $vararg class are used with other methods that are
  • Class Method: $vararg::next() Description The next() method points to the next optional argument in an object r
  • Class Method: $vararg::reset() Description The purpose of the reset() method is to allow reprocessing a list of
  • Method: $setserialize() Description The $setserialize() method provides a limited amount of control over
  • Class Method: $development::randomstring() Description The randomstring() method creates a random string of lowercase alphab
  • Class Method: $development::crash() Description The crash() method will cause the system to crash with an access viol
  • Method: $ismethod() Description The $ismethod() method is used to determine if a method exists for a
  • Dynamic Objects: $jbase Class The $jbase class is a convenience for when you don't need, or want, to create a n
  • Method: $fromfile() Description The $fromfile() static method creates an object from an operating sys
  • Method: $equals() Description The $equals(), or $equal(), method tests if two objects or arrays are
  • Method: $clone() Description The $clone() method creates an exact copy of an existing object.  Mak
  • Class Method: $system::getfiles() Description The getfiles() method creates a sub-object of all files visible to th
  • Class Method: $system::getemulation() Description The getemulation() method is used to obtain the current configuration
  • Class Method: $system::getuserinfo() Description The getuserinfo() method is used to obtain user information based on
  • Method: $keys() Description The $keys() method will return an array of all the key values from an
  • Method: $merge() objects Description The $merge() method combines (merges) one object into another object,
  • Method: $merge() arrays Description The $merge() method combines (concatenates) one array with another ar
  • Method: $locate() Description The $locate() method is used to find an value in a Dynamic Objects ar
  • Class Method: $vararg::size() Description The size() method initially returns the number of arguments from an i
  • Introduction to Dynamic Objects When going through this introduction, it is helpful to have an understanding of O
  • Quick Start on Dynamic Objects This article is designed to get you started on created database/object classes fo
  • Exceptions: try / catch / throw / $setcatch() Dynamic Objects supports try / catch / throw like this: try /* Block of code for