Skip to content
Nikos Siatras edited this page Sep 24, 2022 · 13 revisions

Introduction

Kiwi is a Rapid Application Framework that brings the simplicity of Java to FreeBasic. Until this moment Kiwi is entirely written in FreeBasic and doesn't use any external libraries.

The KOBject

The building block of Kiwi is the KObject (Kiwi Object). Each and every UDT (User Defined Type) must inherit KObject in order to work properly with Kiwi features, like Collections. The following example shows how you can declare a simple Student UTD that inherits KObject.

#include once "kiwi\kiwi.bi"

' In this example we will create an ArrayList that holds Students
Type Student extends KObject ' Always inherit from KObject for all UDTs
    fullName as String
    grade as Double
End Type