PLDB
Languages Features Creators Calendar CSV Resources Blog About Donate Add Language
GitHub icon

Gambas

< >

Gambas is a programming language created in 1999 by Benoît Minisini.

#334on PLDB 24Years Old 485Users
0Books 0Papers

Try now: Riju

Gambas is the name of an object-oriented dialect of the BASIC programming language, as well as the integrated development environment that accompanies it. Designed to run on Linux and other Unix-like computer operating systems, its name is a recursive acronym for Gambas Almost Means Basic. Gambas is also the word for prawns in the Spanish, French, and Portuguese languages, from which the project's logos are derived.. Read more on Wikipedia...


Example from Riju:
Print "Hello, world!"
Example from Wikipedia:
Private Sub Test(X As Float) As Float Dim Mu As Float = 10.0 Dim Pu, Su As Float Dim I, J, N As Integer Dim aPoly As New Float[100] N = 500000 For I = 0 To N - 1 For J = 0 To 99 Mu = (Mu + 2.0) / 2.0 aPoly[J] = Mu Next Su = 0.0 For J = 0 To 99 Su = X * Su + aPoly[J] Next Pu += Su Next Return Pu End Public Sub Main() Dim I as Integer For I = 1 To 10 Print Test(0.2) Next End

Language features

Feature Supported Token Example
Comments
Semantic Indentation X
s.html · gambas.html · hypercard.html

View source

PLDB - Build the next great programming language · Search · v2023 · Day 160 · Docs · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com