PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Gambas

Gambas

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

#341on PLDB 23Years 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 Example Token
Comments
Semantic Indentation ϴ
comtran.html · gambas.html · dtd.html

View source

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