Ebooks, Audobooks and Classical Music from Liber Liber
a b c d e f g h i j k l m n o p q r s t u v w x y z





Web - Amazon

We provide Linux to the World


We support WINRAR [What is this] - [Download .exe file(s) for Windows]

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
SITEMAP
Audiobooks by Valerio Di Stefano: Single Download - Complete Download [TAR] [WIM] [ZIP] [RAR] - Alphabetical Download  [TAR] [WIM] [ZIP] [RAR] - Download Instructions

Make a donation: IBAN: IT36M0708677020000000008016 - BIC/SWIFT:  ICRAITRRU60 - VALERIO DI STEFANO or
Privacy Policy Cookie Policy Terms and Conditions
BASIC - Viquipèdia

BASIC

De Viquipèdia

BASIC és una família de llenguatges de programació d'alt nivell. Concebut, en principi, com un llenguatge fàcil d'usar, es va implantar al sector dels ordinadors personals en els anys 80, i roman avui en dia amb variants bastant evolucionades.

El nom "BASIC" prové de les sigles angleses Beginner's All-purpose Symbolic Instruction Code ("Codi Simbòlic d'Instruccions Multipropòsit per Principiants").

[edita] Programa d'exemple

Aquest programa escriu "Hola, món!" al dispositiu de sortida de defecte (habitualment el monitor).

10 print "Hola, món!"


el BASIC funciona numerant els comandaments. Escriu açò:

10 print "Jo"
3 print "Tu"

El resultat és:

Tu
Jo

[edita] Comandaments més usats

Alguns dels commandaments més usats del BASIC són:

Let
Print
Input
If-Then
Goto


I les seues funcions són:

Let: fa que la seqüència de l'esquerra agafi el valor de l'operació de la dreta.
Exemple:
1 LET A=2+3

Açò fa que A agafi el valor 5.


Print: Mostra al monitor.
Exemple:
1 PRINT "2+3=";A

Açò mostra al monitor: 2+3=5


Input: Introdueix dades.
Exemple:
1 INPUT A
2 PRINT A+1

Apareix una interrogació i després d'escriure un nombre li suma 1 i te'l mostra.


If-Then: Si la condició és certa fa una acció determinada
Exemple:
1 IF 2+3=5 THEN PRINT "2+3=5"

Si 2+3 fan 5, mostrarà 2+3=5



Goto: Va al comandament que vulgues
Exemple:
1 GOTO 10
2 PRINT "TURU"
3 INPUT A
4 PRINT A
5 ...
6 ...
7 ...
8 ...
9 ...
10 PRINT "AAEE"

La pantalla només mostrarà AAEE, ja que ha anat directament al comandament 10

[edita] Vegeu també


Llenguatges de programació
Ada | ALGOL | Awk | Basic| BCPL | c | C++ | C# | Cobol | Delphi | Eiffel | Forth | Fortran | Haskell | Java | Lisp | Logo | MAGIC | Miranda | Modula-2 | Oberon | Ocaml | Pascal | PHP | Perl | Prolog | Python | Ruby | Smalltalk | Altres llenguatges...
Our "Network":

Project Gutenberg
https://gutenberg.classicistranieri.com

Encyclopaedia Britannica 1911
https://encyclopaediabritannica.classicistranieri.com

Librivox Audiobooks
https://librivox.classicistranieri.com

Linux Distributions
https://old.classicistranieri.com

Magnatune (MP3 Music)
https://magnatune.classicistranieri.com

Static Wikipedia (June 2008)
https://wikipedia.classicistranieri.com

Static Wikipedia (March 2008)
https://wikipedia2007.classicistranieri.com/mar2008/

Static Wikipedia (2007)
https://wikipedia2007.classicistranieri.com

Static Wikipedia (2006)
https://wikipedia2006.classicistranieri.com

Liber Liber
https://liberliber.classicistranieri.com

ZIM Files for Kiwix
https://zim.classicistranieri.com


Other Websites:

Bach - Goldberg Variations
https://www.goldbergvariations.org

Lazarillo de Tormes
https://www.lazarillodetormes.org

Madame Bovary
https://www.madamebovary.org

Il Fu Mattia Pascal
https://www.mattiapascal.it

The Voice in the Desert
https://www.thevoiceinthedesert.org

Confessione d'un amore fascista
https://www.amorefascista.it

Malinverno
https://www.malinverno.org

Debito formativo
https://www.debitoformativo.it

Adina Spire
https://www.adinaspire.com