GO-V.ORG
As seen in

Yabasic

Yabasic (Yet Another BASIC) is a free, open-source BASIC interpreter for Microsoft Windows and Unix platforms. Yabasic was originally developed by Marc-Oliver Ihm. From version 2.77.1, the project adopted the MIT License and the source code was moved to GitHub to encourage others to participate in its development. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Yabasic (Yet Another BASIC) is a free, open-source BASIC interpreter for Microsoft Windows and Unix platforms. Yabasic was originally developed by Marc-Oliver Ihm. From version 2.77.1, the project adopted the MIT License and the source code was moved to GitHub to encourage others to participate in its development. ==Features== No compulsory line numbers (they can be used but are optional) Line graphics in color Structured programming—various block structures, named subroutines with local variables and return values Code modules/libraries with separate namespaces (On the other hand, composite data structures are missing) Option to use a graphical user interface based on the GTK library Self-modifying code "Binding" a Yabasic program to the interpreter, creating a standalone executable in a single file ==Other versions== ===Yab=== A version optimized for BeOS, ZETA and Haiku. ===PlayStation 2=== Sony also packaged a version of Yabasic for the PlayStation 2 on the demo disc shipped with PS2 consoles in PAL territories so it could be considered a home computer, not just a games machine, thus bypassing European import taxes. ===Yabasic 3.0 (Unofficial)=== As a continuation of the project prior to new changes by the original author, version 3 was being developed by a team centered on Pedro Sá and Thomas Larsen, but development has halted and the project now appears to be abandoned. ==Yabasic example== !/usr/bin/yabasic REM Program Name: cbm-mtudemo.yab REM Author: mtu REM REM Purpose: demonstration for their CBM-PET graphics card 320x200 open window 320, 200 20 P=160: Q=100 30 XP=144: XR=1.5*3.1415927 40 YP=56: YR=1: ZP=64 50 XF=XR/XP: YF=YP/YR: ZF=XR/ZP 60 FOR ZI=-Q TO Q-l 70 IF ZI ZP GOTO 150 80 ZT=ZI*XP/ZP: ZZ=ZI 90 XL=INT(0.5+SQRT(XP*XP-ZT*ZT)) 100 FOR XI=-XL TO XL 110 XT=SQRT(XI*XI+ZT*ZT)*XF: XX=XI 120 YY=(SIN(XT)+0.4*SIN(3.0*XT))*YF 130 GOSUB 170 140 NEXT XI 150 NEXT ZI 160 PAUSE 10 END 170 X1=XX+ZZ+P 180 Y1=YY-ZZ+Q:Y1=199-Y1 190 LINE X1,Y1,X1,Y1-1 200 IF Y1=0 GOTO 220 210 CLEAR LINE X1,Y1+1,X1,199 220 RETURN ==References== ==External links== — Downloads and documentation for Yabasic 2.90.2 Yabasic GitHub — Source code for Yabasic on GitHub.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Yabasic". 1790531321. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377075643

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·