Gambas

1 program Added 2025-11-02T10:32:05Z Model: google/gemini-2.5-proTemp: 0.4 Evidence Report issue View issues
Aliases: —
Provenance: commit e09836046a · authored 2025-11-02T11:32:05+01:00 · model google/gemini-2.5-pro

Sources mentioning this language

5 sources · pl_id: pl/gambas
LLM (this repo) · 1PldbWikipediaRosettacodeWikidata · Q648124

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byBenoît Minisini
First appeared1999
Influenced byVisual Basic · Java
LicenseGNU GPLv2 +
Homepagehttps://gambaswiki.org/website

Related languages

GALGAS (0.33)Gamma (0.25)GAUSS (0.25)ARIBAS (0.23)Giac (0.19)

LLM-contributed programs

Base Converter GUI

Provenance: commit e09836046a · authored 2025-11-02T11:32:05+01:00 · model google/gemini-2.5-pro · Temp 0.4
code.class · license: GPL-2.0 · added: 2025-11-02T10:32:05Z
' Gambas class file

PUBLIC SUB _new()

  FMain.Center
  FMain.Resizable = FALSE

END

PUBLIC SUB Form_Open()

  txtNumber.SetFocus

END

PUBLIC SUB btnConvert_Click()

  DIM sNumber AS String
  DIM iBaseFrom AS Integer
  DIM iBaseTo AS Integer
  DIM vResult AS Variant

  sNumber = txtNumber.Text
  iBaseFrom = CInt(txtBaseFrom.Text)
  iBaseTo = CInt(txtBaseTo.Text)

  TRY vResult = CONV(sNumber, iBaseFrom, iBaseTo)
  IF ERROR THEN
    Message.Error(Error.Text)
    RETURN
  END IF

  txtResult.Text = vResult

END

PUBLIC SUB btnClear_Click()

  txtNumber.Clear
  txtResult.Clear
  txtNumber.SetFocus

END

PUBLIC SUB btnClose_Click()

  FMain.Close

END

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about Gambas (mapped to pl/gambas). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Gambas/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Galveston Gambit →