CINXE.COM
BASIC (programovací jazyk) – Wikipédia
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="sk" dir="ltr"> <head> <meta charset="UTF-8"> <title>BASIC (programovací jazyk) – Wikipédia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )skwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":[",\t."," \t,"],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],"wgRequestId":"9a328972-df29-45c4-9f81-160bea3e80a4","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"BASIC_(programovací_jazyk)","wgTitle":"BASIC (programovací jazyk)","wgCurRevisionId":6765199,"wgRevisionId":6765199,"wgArticleId":6921,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Stránky se zastaralými značkami source","Počítačové výhonky","Programovacie jazyky"],"wgPageViewLanguage":"sk","wgPageContentLanguage":"sk","wgPageContentModel":"wikitext","wgRelevantPageName":"BASIC_(programovací_jazyk)","wgRelevantArticleId":6921,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive": false,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"sk","pageLanguageDir":"ltr","pageVariantFallbacks":"sk"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":1000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q42979","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false,"wgSiteNoticeId":"2.2"};RLSTATE={"ext.globalCssJs.user.styles":"ready", "site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready","ext.dismissableSiteNotice.styles":"ready"};RLPAGEMODULES=["ext.pygments.view","site","mediawiki.page.ready","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.WikiMiniAtlas","ext.gadget.edit-summaries","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface", "ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.growthExperiments.SuggestedEditSession","wikibase.sidebar.tracking","ext.dismissableSiteNotice"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=sk&modules=ext.dismissableSiteNotice.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=sk&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=sk&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="BASIC (programovací jazyk) – Wikipédia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//sk.m.wikipedia.org/wiki/BASIC_(programovac%C3%AD_jazyk)"> <link rel="alternate" type="application/x-wiki" title="Upraviť" href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipédia (sk)"> <link rel="EditURI" type="application/rsd+xml" href="//sk.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://sk.wikipedia.org/wiki/BASIC_(programovac%C3%AD_jazyk)"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.sk"> <link rel="alternate" type="application/atom+xml" title="Atom kanál Wikipédia" href="/w/index.php?title=%C5%A0peci%C3%A1lne:Posledn%C3%A9%C3%9Apravy&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-BASIC_programovací_jazyk rootpage-BASIC_programovací_jazyk skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Preskočiť na obsah</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Projekt"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Hlavné menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Hlavné menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Hlavné menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">presunúť do postranného panelu</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">skryť</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigácia </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage" class="mw-list-item"><a href="/wiki/Hlavn%C3%A1_str%C3%A1nka" title="Navštíviť Hlavnú stránku [z]" accesskey="z"><span>Hlavná stránka</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikip%C3%A9dia:Port%C3%A1l_komunity" title="O projekte, ako môžete prispieť, kde čo nájsť"><span>Portál komunity</span></a></li><li id="n-kaviaren" class="mw-list-item"><a href="/wiki/Wikip%C3%A9dia:Kaviare%C5%88"><span>Kaviareň</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/%C5%A0peci%C3%A1lne:Posledn%C3%A9%C3%9Apravy" title="Zoznam posledných úprav na tejto wiki [r]" accesskey="r"><span>Posledné úpravy</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/%C5%A0peci%C3%A1lne:N%C3%A1hodn%C3%A1" title="Zobraziť náhodnú stránku [x]" accesskey="x"><span>Náhodná stránka</span></a></li><li id="n-help" class="mw-list-item"><a href="https://sk.wikipedia.org/wiki/Pomoc:Obsah" title="Miesto, kde nájdete pomoc"><span>Pomocník</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Hlavn%C3%A1_str%C3%A1nka" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipédia" src="/static/images/mobile/copyright/wikipedia-wordmark-fr.svg" style="width: 7.4375em; height: 1.125em;"> <img class="mw-logo-tagline" alt="Slobodná encyklopédia" src="/static/images/mobile/copyright/wikipedia-tagline-sk.svg" width="118" height="13" style="width: 7.375em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/%C5%A0peci%C3%A1lne:H%C4%BEadanie" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Vyhľadať na Wikipédia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Hľadať</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Hľadať na Wikipédii" aria-label="Hľadať na Wikipédii" autocapitalize="sentences" title="Vyhľadať na Wikipédia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Špeciálne:Hľadanie"> </div> <button class="cdx-button cdx-search-input__end-button">Hľadať</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Osobné nástroje"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Vzhľad"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Zmeniť vzhľad veľkosti písma, šírky stránky a farby" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Vzhľad" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Vzhľad</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_sk.wikipedia.org&uselang=sk" class=""><span>Prispieť</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=%C5%A0peci%C3%A1lne:Vytvorenie%C3%9A%C4%8Dtu&returnto=BASIC+%28programovac%C3%AD+jazyk%29" title="Odporúčame vytvoriť si vlastný účet a prihlásiť sa, nie je to však povinné." class=""><span>Vytvoriť účet</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=%C5%A0peci%C3%A1lne:Prihl%C3%A1seniePou%C5%BE%C3%ADvate%C4%BEa&returnto=BASIC+%28programovac%C3%AD+jazyk%29" title="Odporúčame vám prihlásiť sa, nie je to však povinné. [o]" accesskey="o" class=""><span>Prihlásiť sa</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Ďalšie možnosti" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Osobné nástroje" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Osobné nástroje</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="Uživatelské menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_sk.wikipedia.org&uselang=sk"><span>Prispieť</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=%C5%A0peci%C3%A1lne:Vytvorenie%C3%9A%C4%8Dtu&returnto=BASIC+%28programovac%C3%AD+jazyk%29" title="Odporúčame vytvoriť si vlastný účet a prihlásiť sa, nie je to však povinné."><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Vytvoriť účet</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=%C5%A0peci%C3%A1lne:Prihl%C3%A1seniePou%C5%BE%C3%ADvate%C4%BEa&returnto=BASIC+%28programovac%C3%AD+jazyk%29" title="Odporúčame vám prihlásiť sa, nie je to však povinné. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Prihlásiť sa</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Stránky pre odhlásených redaktorov <a href="/wiki/Pomoc:%C3%9Avod" aria-label="Viac informácií o editovaní"><span>zistiť viac</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/%C5%A0peci%C3%A1lne:MojePr%C3%ADspevky" title="Zoznam úprav vykonaných z tejto IP adresy [y]" accesskey="y"><span>Príspevky</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/%C5%A0peci%C3%A1lne:MojaDiskusia" title="Diskusia o úpravách z tejto ip adresy [n]" accesskey="n"><span>Diskusia</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><div id="mw-dismissablenotice-anonplace"></div><script>(function(){var node=document.getElementById("mw-dismissablenotice-anonplace");if(node){node.outerHTML="\u003Cdiv class=\"mw-dismissable-notice\"\u003E\u003Cdiv class=\"mw-dismissable-notice-close\"\u003E[\u003Ca tabindex=\"0\" role=\"button\"\u003Enezobrazovať\u003C/a\u003E]\u003C/div\u003E\u003Cdiv class=\"mw-dismissable-notice-body\"\u003E\u003C!-- CentralNotice --\u003E\u003Cdiv id=\"localNotice\" data-nosnippet=\"\"\u003E\u003Cdiv class=\"anonnotice\" lang=\"sk\" dir=\"ltr\"\u003E\u003Ctable width=\"100%\" class=\"skin-nightmode-reset-color\" style=\"background:var( --background-color-base, #FFF); color:#27408B;\"\u003E\n\n\u003Ctbody\u003E\u003Ctr valign=\"top\"\u003E\n\u003Ctd style=\"text-align:center;\"\u003E\u003Cdiv style=\"display: flex; text-align:center; border: 1px solid black;\" class=\"plainlinks\"\u003E\u003Cdiv style=\"padding-left:0.5em; padding-top:0.2em; margin-bottom: -0.4em;\"\u003E\u003Cfigure class=\"mw-halign-left\" typeof=\"mw:File\"\u003E\u003Ca href=\"/wiki/Wikip%C3%A9dia:%C3%81zijsk%C3%BD_mesiac_Wikip%C3%A9die\" title=\"Ázijský mesiac Wikipédie\"\u003E\u003Cimg alt=\"Ázijský mesiac Wikipédie\" src=\"//upload.wikimedia.org/wikipedia/commons/thumb/1/1f/WAM_logo_without_text.svg/38px-WAM_logo_without_text.svg.png\" decoding=\"async\" width=\"38\" height=\"41\" class=\"mw-file-element\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/1/1f/WAM_logo_without_text.svg/57px-WAM_logo_without_text.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1f/WAM_logo_without_text.svg/76px-WAM_logo_without_text.svg.png 2x\" data-file-width=\"800\" data-file-height=\"859\" /\u003E\u003C/a\u003E\u003Cfigcaption\u003EÁzijský mesiac Wikipédie\u003C/figcaption\u003E\u003C/figure\u003E\u003C/div\u003E\u003Cdiv style=\"text-align:center; flex: 1; margin: 0.2em 0;\"\u003E\u003Cbig\u003E\u003Cb\u003E\u003Ca href=\"/wiki/Wikip%C3%A9dia:%C3%81zijsk%C3%BD_mesiac_Wikip%C3%A9die_2024\" title=\"Wikipédia:Ázijský mesiac Wikipédie 2024\"\u003EÁzijský mesiac Wikipédie 2024\u003C/a\u003E\u003C/b\u003E\u003C/big\u003E\u003Cbr /\u003E\u003Cb\u003EZapojte sa a\u0026#160;získajte cenu\u003C/b\u003E\n\u003C/div\u003E\n\u003C/div\u003E\u003C/td\u003E\u003C/tr\u003E\u003C/tbody\u003E\u003C/table\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E";}}());</script></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Projekt"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Obsah" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Obsah</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">presunúť do postranného panelu</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">skryť</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Začiatok</div> </a> </li> <li id="toc-Príklady" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Príklady"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Príklady</span> </div> </a> <button aria-controls="toc-Príklady-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Přepnout podsekci Príklady</span> </button> <ul id="toc-Príklady-sublist" class="vector-toc-list"> <li id="toc-Hello,_world!" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Hello,_world!"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Hello, world!</span> </div> </a> <ul id="toc-Hello,_world!-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Vygenerovanie_čísla" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Vygenerovanie_čísla"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Vygenerovanie čísla</span> </div> </a> <ul id="toc-Vygenerovanie_čísla-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Obsah" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Prepnúť obsah" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Prepnúť obsah</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">BASIC (programovací jazyk)</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Prejsť na článok v inom jazyku. Je dostupný v 85 jazykoch" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-85" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">85 jazykov</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-af mw-list-item"><a href="https://af.wikipedia.org/wiki/BASIC" title="BASIC – afrikánčina" lang="af" hreflang="af" data-title="BASIC" data-language-autonym="Afrikaans" data-language-local-name="afrikánčina" class="interlanguage-link-target"><span>Afrikaans</span></a></li><li class="interlanguage-link interwiki-am mw-list-item"><a href="https://am.wikipedia.org/wiki/%E1%89%A4%E1%88%B2%E1%8A%AD_(BASIC)" title="ቤሲክ (BASIC) – amharčina" lang="am" hreflang="am" data-title="ቤሲክ (BASIC)" data-language-autonym="አማርኛ" data-language-local-name="amharčina" class="interlanguage-link-target"><span>አማርኛ</span></a></li><li class="interlanguage-link interwiki-an mw-list-item"><a href="https://an.wikipedia.org/wiki/BASIC" title="BASIC – aragónčina" lang="an" hreflang="an" data-title="BASIC" data-language-autonym="Aragonés" data-language-local-name="aragónčina" class="interlanguage-link-target"><span>Aragonés</span></a></li><li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%A8%D9%8A%D8%B3%D9%8A%D9%83" title="بيسيك – arabčina" lang="ar" hreflang="ar" data-title="بيسيك" data-language-autonym="العربية" data-language-local-name="arabčina" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-ast mw-list-item"><a href="https://ast.wikipedia.org/wiki/BASIC" title="BASIC – astúrčina" lang="ast" hreflang="ast" data-title="BASIC" data-language-autonym="Asturianu" data-language-local-name="astúrčina" class="interlanguage-link-target"><span>Asturianu</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/BASIC" title="BASIC – azerbajdžančina" lang="az" hreflang="az" data-title="BASIC" data-language-autonym="Azərbaycanca" data-language-local-name="azerbajdžančina" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-ba mw-list-item"><a href="https://ba.wikipedia.org/wiki/%D0%91%D0%B5%D0%B9%D1%81%D0%B8%D0%BA" title="Бейсик – baškirčina" lang="ba" hreflang="ba" data-title="Бейсик" data-language-autonym="Башҡортса" data-language-local-name="baškirčina" class="interlanguage-link-target"><span>Башҡортса</span></a></li><li class="interlanguage-link interwiki-bat-smg mw-list-item"><a href="https://bat-smg.wikipedia.org/wiki/BASIC" title="BASIC – žemaitština" lang="sgs" hreflang="sgs" data-title="BASIC" data-language-autonym="Žemaitėška" data-language-local-name="žemaitština" class="interlanguage-link-target"><span>Žemaitėška</span></a></li><li class="interlanguage-link interwiki-be mw-list-item"><a href="https://be.wikipedia.org/wiki/BASIC" title="BASIC – bieloruština" lang="be" hreflang="be" data-title="BASIC" data-language-autonym="Беларуская" data-language-local-name="bieloruština" class="interlanguage-link-target"><span>Беларуская</span></a></li><li class="interlanguage-link interwiki-be-x-old mw-list-item"><a href="https://be-tarask.wikipedia.org/wiki/BASIC" title="BASIC – Belarusian (Taraškievica orthography)" lang="be-tarask" hreflang="be-tarask" data-title="BASIC" data-language-autonym="Беларуская (тарашкевіца)" data-language-local-name="Belarusian (Taraškievica orthography)" class="interlanguage-link-target"><span>Беларуская (тарашкевіца)</span></a></li><li class="interlanguage-link interwiki-bg mw-list-item"><a href="https://bg.wikipedia.org/wiki/BASIC" title="BASIC – bulharčina" lang="bg" hreflang="bg" data-title="BASIC" data-language-autonym="Български" data-language-local-name="bulharčina" class="interlanguage-link-target"><span>Български</span></a></li><li class="interlanguage-link interwiki-bn mw-list-item"><a href="https://bn.wikipedia.org/wiki/%E0%A6%AC%E0%A7%87%E0%A6%B8%E0%A6%BF%E0%A6%95_(%E0%A6%AA%E0%A7%8D%E0%A6%B0%E0%A7%8B%E0%A6%97%E0%A7%8D%E0%A6%B0%E0%A6%BE%E0%A6%AE%E0%A6%BF%E0%A6%82_%E0%A6%AD%E0%A6%BE%E0%A6%B7%E0%A6%BE)" title="বেসিক (প্রোগ্রামিং ভাষা) – bengálčina" lang="bn" hreflang="bn" data-title="বেসিক (প্রোগ্রামিং ভাষা)" data-language-autonym="বাংলা" data-language-local-name="bengálčina" class="interlanguage-link-target"><span>বাংলা</span></a></li><li class="interlanguage-link interwiki-bs mw-list-item"><a href="https://bs.wikipedia.org/wiki/BASIC" title="BASIC – bosniačtina" lang="bs" hreflang="bs" data-title="BASIC" data-language-autonym="Bosanski" data-language-local-name="bosniačtina" class="interlanguage-link-target"><span>Bosanski</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/BASIC" title="BASIC – katalánčina" lang="ca" hreflang="ca" data-title="BASIC" data-language-autonym="Català" data-language-local-name="katalánčina" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-ckb mw-list-item"><a href="https://ckb.wikipedia.org/wiki/%D8%A8%DB%95%DB%8C%D8%B3%DB%8C%DA%A9" title="بەیسیک – kurdčina (sorání)" lang="ckb" hreflang="ckb" data-title="بەیسیک" data-language-autonym="کوردی" data-language-local-name="kurdčina (sorání)" class="interlanguage-link-target"><span>کوردی</span></a></li><li class="interlanguage-link interwiki-co mw-list-item"><a href="https://co.wikipedia.org/wiki/BASIC" title="BASIC – korzičtina" lang="co" hreflang="co" data-title="BASIC" data-language-autonym="Corsu" data-language-local-name="korzičtina" class="interlanguage-link-target"><span>Corsu</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/BASIC" title="BASIC – čeština" lang="cs" hreflang="cs" data-title="BASIC" data-language-autonym="Čeština" data-language-local-name="čeština" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-da mw-list-item"><a href="https://da.wikipedia.org/wiki/BASIC" title="BASIC – dánčina" lang="da" hreflang="da" data-title="BASIC" data-language-autonym="Dansk" data-language-local-name="dánčina" class="interlanguage-link-target"><span>Dansk</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/BASIC" title="BASIC – nemčina" lang="de" hreflang="de" data-title="BASIC" data-language-autonym="Deutsch" data-language-local-name="nemčina" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/BASIC" title="BASIC – gréčtina" lang="el" hreflang="el" data-title="BASIC" data-language-autonym="Ελληνικά" data-language-local-name="gréčtina" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-en mw-list-item"><a href="https://en.wikipedia.org/wiki/BASIC" title="BASIC – angličtina" lang="en" hreflang="en" data-title="BASIC" data-language-autonym="English" data-language-local-name="angličtina" class="interlanguage-link-target"><span>English</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/BASIC_(programlingvo)" title="BASIC (programlingvo) – esperanto" lang="eo" hreflang="eo" data-title="BASIC (programlingvo)" data-language-autonym="Esperanto" data-language-local-name="esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/BASIC" title="BASIC – španielčina" lang="es" hreflang="es" data-title="BASIC" data-language-autonym="Español" data-language-local-name="španielčina" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-et mw-list-item"><a href="https://et.wikipedia.org/wiki/BASIC" title="BASIC – estónčina" lang="et" hreflang="et" data-title="BASIC" data-language-autonym="Eesti" data-language-local-name="estónčina" class="interlanguage-link-target"><span>Eesti</span></a></li><li class="interlanguage-link interwiki-eu mw-list-item"><a href="https://eu.wikipedia.org/wiki/BASIC" title="BASIC – baskičtina" lang="eu" hreflang="eu" data-title="BASIC" data-language-autonym="Euskara" data-language-local-name="baskičtina" class="interlanguage-link-target"><span>Euskara</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%A8%DB%8C%D8%B3%DB%8C%DA%A9" title="بیسیک – perzština" lang="fa" hreflang="fa" data-title="بیسیک" data-language-autonym="فارسی" data-language-local-name="perzština" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/BASIC" title="BASIC – fínčina" lang="fi" hreflang="fi" data-title="BASIC" data-language-autonym="Suomi" data-language-local-name="fínčina" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Basic_(langage)" title="Basic (langage) – francúzština" lang="fr" hreflang="fr" data-title="Basic (langage)" data-language-autonym="Français" data-language-local-name="francúzština" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ga mw-list-item"><a href="https://ga.wikipedia.org/wiki/BASIC" title="BASIC – írčina" lang="ga" hreflang="ga" data-title="BASIC" data-language-autonym="Gaeilge" data-language-local-name="írčina" class="interlanguage-link-target"><span>Gaeilge</span></a></li><li class="interlanguage-link interwiki-gl mw-list-item"><a href="https://gl.wikipedia.org/wiki/BASIC" title="BASIC – galícijčina" lang="gl" hreflang="gl" data-title="BASIC" data-language-autonym="Galego" data-language-local-name="galícijčina" class="interlanguage-link-target"><span>Galego</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/BASIC" title="BASIC – hebrejčina" lang="he" hreflang="he" data-title="BASIC" data-language-autonym="עברית" data-language-local-name="hebrejčina" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-hr mw-list-item"><a href="https://hr.wikipedia.org/wiki/BASIC" title="BASIC – chorvátčina" lang="hr" hreflang="hr" data-title="BASIC" data-language-autonym="Hrvatski" data-language-local-name="chorvátčina" class="interlanguage-link-target"><span>Hrvatski</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/BASIC" title="BASIC – maďarčina" lang="hu" hreflang="hu" data-title="BASIC" data-language-autonym="Magyar" data-language-local-name="maďarčina" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-ia mw-list-item"><a href="https://ia.wikipedia.org/wiki/BASIC" title="BASIC – interlingua" lang="ia" hreflang="ia" data-title="BASIC" data-language-autonym="Interlingua" data-language-local-name="interlingua" class="interlanguage-link-target"><span>Interlingua</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/BASIC" title="BASIC – indonézština" lang="id" hreflang="id" data-title="BASIC" data-language-autonym="Bahasa Indonesia" data-language-local-name="indonézština" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-io mw-list-item"><a href="https://io.wikipedia.org/wiki/BASIC" title="BASIC – ido" lang="io" hreflang="io" data-title="BASIC" data-language-autonym="Ido" data-language-local-name="ido" class="interlanguage-link-target"><span>Ido</span></a></li><li class="interlanguage-link interwiki-is mw-list-item"><a href="https://is.wikipedia.org/wiki/BASIC" title="BASIC – islandčina" lang="is" hreflang="is" data-title="BASIC" data-language-autonym="Íslenska" data-language-local-name="islandčina" class="interlanguage-link-target"><span>Íslenska</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/BASIC" title="BASIC – taliančina" lang="it" hreflang="it" data-title="BASIC" data-language-autonym="Italiano" data-language-local-name="taliančina" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/BASIC" title="BASIC – japončina" lang="ja" hreflang="ja" data-title="BASIC" data-language-autonym="日本語" data-language-local-name="japončina" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-kab mw-list-item"><a href="https://kab.wikipedia.org/wiki/BASIC" title="BASIC – kabylčina" lang="kab" hreflang="kab" data-title="BASIC" data-language-autonym="Taqbaylit" data-language-local-name="kabylčina" class="interlanguage-link-target"><span>Taqbaylit</span></a></li><li class="interlanguage-link interwiki-kk mw-list-item"><a href="https://kk.wikipedia.org/wiki/%D0%91%D0%B5%D0%B9%D1%81%D0%B8%D0%BA" title="Бейсик – kazaština" lang="kk" hreflang="kk" data-title="Бейсик" data-language-autonym="Қазақша" data-language-local-name="kazaština" class="interlanguage-link-target"><span>Қазақша</span></a></li><li class="interlanguage-link interwiki-kn mw-list-item"><a href="https://kn.wikipedia.org/wiki/%E0%B2%AC%E0%B3%87%E0%B2%B8%E0%B2%BF%E0%B2%95%E0%B3%8D" title="ಬೇಸಿಕ್ – kannadčina" lang="kn" hreflang="kn" data-title="ಬೇಸಿಕ್" data-language-autonym="ಕನ್ನಡ" data-language-local-name="kannadčina" class="interlanguage-link-target"><span>ಕನ್ನಡ</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EB%B2%A0%EC%9D%B4%EC%A7%81" title="베이직 – kórejčina" lang="ko" hreflang="ko" data-title="베이직" data-language-autonym="한국어" data-language-local-name="kórejčina" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-ky mw-list-item"><a href="https://ky.wikipedia.org/wiki/Basic" title="Basic – kirgizština" lang="ky" hreflang="ky" data-title="Basic" data-language-autonym="Кыргызча" data-language-local-name="kirgizština" class="interlanguage-link-target"><span>Кыргызча</span></a></li><li class="interlanguage-link interwiki-la mw-list-item"><a href="https://la.wikipedia.org/wiki/Basic" title="Basic – latinčina" lang="la" hreflang="la" data-title="Basic" data-language-autonym="Latina" data-language-local-name="latinčina" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-lmo mw-list-item"><a href="https://lmo.wikipedia.org/wiki/BASIC" title="BASIC – lombardština" lang="lmo" hreflang="lmo" data-title="BASIC" data-language-autonym="Lombard" data-language-local-name="lombardština" class="interlanguage-link-target"><span>Lombard</span></a></li><li class="interlanguage-link interwiki-lt mw-list-item"><a href="https://lt.wikipedia.org/wiki/BASIC" title="BASIC – litovčina" lang="lt" hreflang="lt" data-title="BASIC" data-language-autonym="Lietuvių" data-language-local-name="litovčina" class="interlanguage-link-target"><span>Lietuvių</span></a></li><li class="interlanguage-link interwiki-lv mw-list-item"><a href="https://lv.wikipedia.org/wiki/BASIC" title="BASIC – lotyština" lang="lv" hreflang="lv" data-title="BASIC" data-language-autonym="Latviešu" data-language-local-name="lotyština" class="interlanguage-link-target"><span>Latviešu</span></a></li><li class="interlanguage-link interwiki-mk mw-list-item"><a href="https://mk.wikipedia.org/wiki/BASIC" title="BASIC – macedónčina" lang="mk" hreflang="mk" data-title="BASIC" data-language-autonym="Македонски" data-language-local-name="macedónčina" class="interlanguage-link-target"><span>Македонски</span></a></li><li class="interlanguage-link interwiki-ml mw-list-item"><a href="https://ml.wikipedia.org/wiki/%E0%B4%AC%E0%B5%87%E0%B4%B8%E0%B4%BF%E0%B4%95%E0%B5%8D" title="ബേസിക് – malajálamčina" lang="ml" hreflang="ml" data-title="ബേസിക്" data-language-autonym="മലയാളം" data-language-local-name="malajálamčina" class="interlanguage-link-target"><span>മലയാളം</span></a></li><li class="interlanguage-link interwiki-mn mw-list-item"><a href="https://mn.wikipedia.org/wiki/BASIC" title="BASIC – mongolčina" lang="mn" hreflang="mn" data-title="BASIC" data-language-autonym="Монгол" data-language-local-name="mongolčina" class="interlanguage-link-target"><span>Монгол</span></a></li><li class="interlanguage-link interwiki-mr mw-list-item"><a href="https://mr.wikipedia.org/wiki/%E0%A4%AC%E0%A5%87%E0%A4%B8%E0%A4%BF%E0%A4%95" title="बेसिक – maráthčina" lang="mr" hreflang="mr" data-title="बेसिक" data-language-autonym="मराठी" data-language-local-name="maráthčina" class="interlanguage-link-target"><span>मराठी</span></a></li><li class="interlanguage-link interwiki-ms mw-list-item"><a href="https://ms.wikipedia.org/wiki/BASIC" title="BASIC – malajčina" lang="ms" hreflang="ms" data-title="BASIC" data-language-autonym="Bahasa Melayu" data-language-local-name="malajčina" class="interlanguage-link-target"><span>Bahasa Melayu</span></a></li><li class="interlanguage-link interwiki-ne mw-list-item"><a href="https://ne.wikipedia.org/wiki/%E0%A4%AC%E0%A5%87%E0%A4%B8%E0%A4%BF%E0%A4%95" title="बेसिक – nepálčina" lang="ne" hreflang="ne" data-title="बेसिक" data-language-autonym="नेपाली" data-language-local-name="nepálčina" class="interlanguage-link-target"><span>नेपाली</span></a></li><li class="interlanguage-link interwiki-new mw-list-item"><a href="https://new.wikipedia.org/wiki/%E0%A4%AC%E0%A5%87%E0%A4%B8%E0%A4%BF%E0%A4%95" title="बेसिक – nevárčina" lang="new" hreflang="new" data-title="बेसिक" data-language-autonym="नेपाल भाषा" data-language-local-name="nevárčina" class="interlanguage-link-target"><span>नेपाल भाषा</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/BASIC" title="BASIC – holandčina" lang="nl" hreflang="nl" data-title="BASIC" data-language-autonym="Nederlands" data-language-local-name="holandčina" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-nn mw-list-item"><a href="https://nn.wikipedia.org/wiki/BASIC" title="BASIC – nórčina (nynorsk)" lang="nn" hreflang="nn" data-title="BASIC" data-language-autonym="Norsk nynorsk" data-language-local-name="nórčina (nynorsk)" class="interlanguage-link-target"><span>Norsk nynorsk</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/BASIC" title="BASIC – nórčina (bokmal)" lang="nb" hreflang="nb" data-title="BASIC" data-language-autonym="Norsk bokmål" data-language-local-name="nórčina (bokmal)" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/BASIC" title="BASIC – poľština" lang="pl" hreflang="pl" data-title="BASIC" data-language-autonym="Polski" data-language-local-name="poľština" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pnb mw-list-item"><a href="https://pnb.wikipedia.org/wiki/%D8%A8%DB%8C%D8%B3%DA%A9" title="بیسک – Western Punjabi" lang="pnb" hreflang="pnb" data-title="بیسک" data-language-autonym="پنجابی" data-language-local-name="Western Punjabi" class="interlanguage-link-target"><span>پنجابی</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/BASIC" title="BASIC – portugalčina" lang="pt" hreflang="pt" data-title="BASIC" data-language-autonym="Português" data-language-local-name="portugalčina" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ro mw-list-item"><a href="https://ro.wikipedia.org/wiki/BASIC" title="BASIC – rumunčina" lang="ro" hreflang="ro" data-title="BASIC" data-language-autonym="Română" data-language-local-name="rumunčina" class="interlanguage-link-target"><span>Română</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%91%D0%B5%D0%B9%D1%81%D0%B8%D0%BA" title="Бейсик – ruština" lang="ru" hreflang="ru" data-title="Бейсик" data-language-autonym="Русский" data-language-local-name="ruština" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-sah mw-list-item"><a href="https://sah.wikipedia.org/wiki/BASIC" title="BASIC – jakutčina" lang="sah" hreflang="sah" data-title="BASIC" data-language-autonym="Саха тыла" data-language-local-name="jakutčina" class="interlanguage-link-target"><span>Саха тыла</span></a></li><li class="interlanguage-link interwiki-sh mw-list-item"><a href="https://sh.wikipedia.org/wiki/BASIC" title="BASIC – srbochorvátčina" lang="sh" hreflang="sh" data-title="BASIC" data-language-autonym="Srpskohrvatski / српскохрватски" data-language-local-name="srbochorvátčina" class="interlanguage-link-target"><span>Srpskohrvatski / српскохрватски</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/BASIC" title="BASIC – Simple English" lang="en-simple" hreflang="en-simple" data-title="BASIC" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sl mw-list-item"><a href="https://sl.wikipedia.org/wiki/BASIC" title="BASIC – slovinčina" lang="sl" hreflang="sl" data-title="BASIC" data-language-autonym="Slovenščina" data-language-local-name="slovinčina" class="interlanguage-link-target"><span>Slovenščina</span></a></li><li class="interlanguage-link interwiki-sq mw-list-item"><a href="https://sq.wikipedia.org/wiki/BASIC" title="BASIC – albánčina" lang="sq" hreflang="sq" data-title="BASIC" data-language-autonym="Shqip" data-language-local-name="albánčina" class="interlanguage-link-target"><span>Shqip</span></a></li><li class="interlanguage-link interwiki-sr mw-list-item"><a href="https://sr.wikipedia.org/wiki/BASIC" title="BASIC – srbčina" lang="sr" hreflang="sr" data-title="BASIC" data-language-autonym="Српски / srpski" data-language-local-name="srbčina" class="interlanguage-link-target"><span>Српски / srpski</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/BASIC" title="BASIC – švédčina" lang="sv" hreflang="sv" data-title="BASIC" data-language-autonym="Svenska" data-language-local-name="švédčina" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-sw mw-list-item"><a href="https://sw.wikipedia.org/wiki/BASIC" title="BASIC – swahilčina" lang="sw" hreflang="sw" data-title="BASIC" data-language-autonym="Kiswahili" data-language-local-name="swahilčina" class="interlanguage-link-target"><span>Kiswahili</span></a></li><li class="interlanguage-link interwiki-ta mw-list-item"><a href="https://ta.wikipedia.org/wiki/%E0%AE%AA%E0%AF%87%E0%AE%9A%E0%AE%BF%E0%AE%95%E0%AF%8D_(%E0%AE%A8%E0%AE%BF%E0%AE%B0%E0%AE%B2%E0%AF%8D_%E0%AE%AE%E0%AF%8A%E0%AE%B4%E0%AE%BF)" title="பேசிக் (நிரல் மொழி) – tamilčina" lang="ta" hreflang="ta" data-title="பேசிக் (நிரல் மொழி)" data-language-autonym="தமிழ்" data-language-local-name="tamilčina" class="interlanguage-link-target"><span>தமிழ்</span></a></li><li class="interlanguage-link interwiki-te mw-list-item"><a href="https://te.wikipedia.org/wiki/%E0%B0%AC%E0%B1%87%E0%B0%B8%E0%B0%BF%E0%B0%95%E0%B1%8D" title="బేసిక్ – telugčina" lang="te" hreflang="te" data-title="బేసిక్" data-language-autonym="తెలుగు" data-language-local-name="telugčina" class="interlanguage-link-target"><span>తెలుగు</span></a></li><li class="interlanguage-link interwiki-tg mw-list-item"><a href="https://tg.wikipedia.org/wiki/BASIC" title="BASIC – tadžičtina" lang="tg" hreflang="tg" data-title="BASIC" data-language-autonym="Тоҷикӣ" data-language-local-name="tadžičtina" class="interlanguage-link-target"><span>Тоҷикӣ</span></a></li><li class="interlanguage-link interwiki-th mw-list-item"><a href="https://th.wikipedia.org/wiki/%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2%E0%B9%80%E0%B8%9A%E0%B8%AA%E0%B8%B4%E0%B8%81" title="ภาษาเบสิก – thajčina" lang="th" hreflang="th" data-title="ภาษาเบสิก" data-language-autonym="ไทย" data-language-local-name="thajčina" class="interlanguage-link-target"><span>ไทย</span></a></li><li class="interlanguage-link interwiki-tl mw-list-item"><a href="https://tl.wikipedia.org/wiki/BASIC" title="BASIC – tagalčina" lang="tl" hreflang="tl" data-title="BASIC" data-language-autonym="Tagalog" data-language-local-name="tagalčina" class="interlanguage-link-target"><span>Tagalog</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/BASIC" title="BASIC – turečtina" lang="tr" hreflang="tr" data-title="BASIC" data-language-autonym="Türkçe" data-language-local-name="turečtina" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/BASIC" title="BASIC – ukrajinčina" lang="uk" hreflang="uk" data-title="BASIC" data-language-autonym="Українська" data-language-local-name="ukrajinčina" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-uz mw-list-item"><a href="https://uz.wikipedia.org/wiki/BASIC" title="BASIC – uzbečtina" lang="uz" hreflang="uz" data-title="BASIC" data-language-autonym="Oʻzbekcha / ўзбекча" data-language-local-name="uzbečtina" class="interlanguage-link-target"><span>Oʻzbekcha / ўзбекча</span></a></li><li class="interlanguage-link interwiki-vi mw-list-item"><a href="https://vi.wikipedia.org/wiki/BASIC" title="BASIC – vietnamčina" lang="vi" hreflang="vi" data-title="BASIC" data-language-autonym="Tiếng Việt" data-language-local-name="vietnamčina" class="interlanguage-link-target"><span>Tiếng Việt</span></a></li><li class="interlanguage-link interwiki-wuu mw-list-item"><a href="https://wuu.wikipedia.org/wiki/Basic%E8%AF%AD%E8%A8%80" title="Basic语言 – čínština (wu)" lang="wuu" hreflang="wuu" data-title="Basic语言" data-language-autonym="吴语" data-language-local-name="čínština (wu)" class="interlanguage-link-target"><span>吴语</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/BASIC" title="BASIC – čínština" lang="zh" hreflang="zh" data-title="BASIC" data-language-autonym="中文" data-language-local-name="čínština" class="interlanguage-link-target"><span>中文</span></a></li><li class="interlanguage-link interwiki-zh-classical mw-list-item"><a href="https://zh-classical.wikipedia.org/wiki/%E5%9F%B9%E5%9F%BA" title="培基 – čínština (klasická)" lang="lzh" hreflang="lzh" data-title="培基" data-language-autonym="文言" data-language-local-name="čínština (klasická)" class="interlanguage-link-target"><span>文言</span></a></li><li class="interlanguage-link interwiki-zh-min-nan mw-list-item"><a href="https://zh-min-nan.wikipedia.org/wiki/BASIC" title="BASIC – čínština (dialekty Minnan)" lang="nan" hreflang="nan" data-title="BASIC" data-language-autonym="閩南語 / Bân-lâm-gú" data-language-local-name="čínština (dialekty Minnan)" class="interlanguage-link-target"><span>閩南語 / Bân-lâm-gú</span></a></li><li class="interlanguage-link interwiki-zh-yue mw-list-item"><a href="https://zh-yue.wikipedia.org/wiki/BASIC" title="BASIC – kantončina" lang="yue" hreflang="yue" data-title="BASIC" data-language-autonym="粵語" data-language-local-name="kantončina" class="interlanguage-link-target"><span>粵語</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q42979#sitelinks-wikipedia" title="Upraviť medzijazykové odkazy" class="wbc-editpage">Upraviť odkazy</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Menné priestory"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/BASIC_(programovac%C3%AD_jazyk)" title="Zobraziť obsah stránky [c]" accesskey="c"><span>Stránka</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Diskusia:BASIC_(programovac%C3%AD_jazyk)&action=edit&redlink=1" rel="discussion" class="new" title="Diskusia o obsahu stránky (stránka neexistuje) [t]" accesskey="t"><span>Diskusia</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Změnit variantu jazyka" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">slovenčina</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Zobrazenia"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/BASIC_(programovac%C3%AD_jazyk)"><span>Čítať</span></a></li><li id="ca-ve-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&veaction=edit" title="Upraviť túto stránku [v]" accesskey="v"><span>Upraviť</span></a></li><li id="ca-edit" class="collapsible vector-tab-noicon mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=edit" title="Upraviť zdrojový kód tejto stránky [e]" accesskey="e"><span>Upraviť zdroj</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=history" title="Minulé revízie tejto stránky. [h]" accesskey="h"><span>Zobraziť históriu</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Nástroje stránky"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Nástroje" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Nástroje</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Nástroje</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">presunúť do postranného panelu</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">skryť</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="Další možnosti" > <div class="vector-menu-heading"> Akcie </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/BASIC_(programovac%C3%AD_jazyk)"><span>Čítať</span></a></li><li id="ca-more-ve-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&veaction=edit" title="Upraviť túto stránku [v]" accesskey="v"><span>Upraviť</span></a></li><li id="ca-more-edit" class="collapsible vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=edit" title="Upraviť zdrojový kód tejto stránky [e]" accesskey="e"><span>Upraviť zdroj</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=history"><span>Zobraziť históriu</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> Všeobecné </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/%C5%A0peci%C3%A1lne:%C4%8CoOdkazujeSem/BASIC_(programovac%C3%AD_jazyk)" title="Zoznam všetkých wiki stránok, ktoré sem odkazujú [j]" accesskey="j"><span>Odkazy na túto stránku</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/%C5%A0peci%C3%A1lne:S%C3%BAvisiacePosledn%C3%A9%C3%9Apravy/BASIC_(programovac%C3%AD_jazyk)" rel="nofollow" title="Posledné úpravy na stránkach, na ktoré odkazuje táto stránka [k]" accesskey="k"><span>Súvisiace úpravy</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=sk" title="Nahranie súborov [u]" accesskey="u"><span>Nahrať súbor</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/%C5%A0peci%C3%A1lne:%C5%A0peci%C3%A1lneStr%C3%A1nky" title="Zoznam všetkých špeciálnych stránok [q]" accesskey="q"><span>Špeciálne stránky</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&oldid=6765199" title="Trvalý odkaz na túto verziu stránky"><span>Trvalý odkaz</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=info" title="Viac informácií o tejto stránke"><span>Informácie o stránke</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=%C5%A0peci%C3%A1lne:Citova%C5%A5&page=BASIC_%28programovac%C3%AD_jazyk%29&id=6765199&wpFormIdentifier=titleform" title="Informácie ako citovať túto stránku"><span>Citovať túto stránku</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=%C5%A0peci%C3%A1lne:UrlShortener&url=https%3A%2F%2Fsk.wikipedia.org%2Fwiki%2FBASIC_%28programovac%25C3%25AD_jazyk%29"><span>Získať skrátené URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=%C5%A0peci%C3%A1lne:QrCode&url=https%3A%2F%2Fsk.wikipedia.org%2Fwiki%2FBASIC_%28programovac%25C3%25AD_jazyk%29"><span>Stiahnuť QR kód</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Tlačiť/exportovať </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=%C5%A0peci%C3%A1lne:Knihy&bookcmd=book_creator&referer=BASIC+%28programovac%C3%AD+jazyk%29"><span>Vytvoriť knihu</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=%C5%A0peci%C3%A1lne:DownloadAsPdf&page=BASIC_%28programovac%C3%AD_jazyk%29&action=show-download-screen"><span>Stiahnuť ako PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&printable=yes" title="Verzia tejto stránky pre tlač [p]" accesskey="p"><span>Verzia pre tlač</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> V iných projektoch </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:BASIC_(programming_language)" hreflang="en"><span>Wikimedia Commons</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q42979" title="Odkaz na prepojenú položku dátového úložiska [g]" accesskey="g"><span>Položka Wikidata</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Nástroje stránky"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Vzhľad"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Vzhľad</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">presunúť do postranného panelu</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">skryť</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">z Wikipédie, slobodnej encyklopédie</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="sk" dir="ltr"><table class="infobox" cellspacing="3" align="right" style="width: 22em; text-align: left; font-size: 90%; line-height: 1.5em;"><tbody><tr><td colspan="2" style="text-align:center; font-size: 125%; font-weight: bold; background:#DDDDDD"><big>BASIC</big></td></tr> <tr><th style="">Druh</th><td style="">procedurálny</td></tr><tr><th style="">Typová kontrola</th><td style="">silná</td></tr><tr><th style="">Používané prípony</th><td style="">.bas</td></tr> </tbody></table><p><b>BASIC</b> je druh <a href="/wiki/Programovac%C3%AD_jazyk" title="Programovací jazyk">programovacieho jazyka</a>. Jeho pomenovanie je skratka z <a href="/wiki/Angli%C4%8Dtina" title="Angličtina">anglických</a> slov <i><b>B</b>eginner's <b>A</b>ll-purpose <b>S</b>ymbolic <b>I</b>nstruction <b>C</b>ode</i>, čo znamená „univerzálne kódovanie inštrukcií pre začiatočníkov“. </p><div class="mw-heading mw-heading2"><h2 id="Príklady"><span id="Pr.C3.ADklady"></span>Príklady</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&veaction=edit&section=1" title="Upraviť sekciu: Príklady" class="mw-editsection-visualeditor"><span>upraviť</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=edit&section=1" title="Editovat zdrojový kód sekce Príklady"><span>upraviť zdroj</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Hello,_world!"><span id="Hello.2C_world.21"></span>Hello, world!</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&veaction=edit&section=2" title="Upraviť sekciu: Hello, world!" class="mw-editsection-visualeditor"><span>upraviť</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=edit&section=2" title="Editovat zdrojový kód sekce Hello, world!"><span>upraviť zdroj</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Tu je ukážka programu „<a href="/wiki/Hello,_world!" class="mw-redirect" title="Hello, world!">Hello, world!</a>“ v tradičnej verzii jazyka BASIC: </p> <div class="mw-highlight mw-highlight-lang-qbasic mw-content-ltr" dir="ltr"><pre><span></span><span class="w"> </span><span class="il">10</span><span class="w"> </span><span class="kr">PRINT</span><span class="w"> </span><span class="err">„</span><span class="vg">Hello</span><span class="p">,</span><span class="w"> </span><span class="vg">world!</span><span class="err">“</span> <span class="w"> </span><span class="il">20</span><span class="w"> </span><span class="kr">END</span> </pre></div> <div class="mw-heading mw-heading3"><h3 id="Vygenerovanie_čísla"><span id="Vygenerovanie_.C4.8D.C3.ADsla"></span>Vygenerovanie čísla</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&veaction=edit&section=3" title="Upraviť sekciu: Vygenerovanie čísla" class="mw-editsection-visualeditor"><span>upraviť</span></a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=edit&section=3" title="Editovat zdrojový kód sekce Vygenerovanie čísla"><span>upraviť zdroj</span></a><span class="mw-editsection-bracket">]</span></span></div> <pre>PROGRAM random  ! nazov programu RANDOMIZE  ! ziskanie tzv. seed PRINT RND  ! vygenerovanie a vypis nahodneho cisla END </pre> <p>Tento program v jazyku Basic vygeneruje náhodné číslo pomocou funkcie RND. Generátor náhodných čísel potrebuje tzv. seed (semienko). Toto semienko mu poskytneme zavolaním funkcie RANDOMIZE. Program vypíše vygenerované náhodné číslo. </p> <div role="navigation" class="navbox" aria-labelledby="Významné_programovacie_jazyky" style="padding:3px"><table class="nowraplinks collapsible autocollapse navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><div class="plainlinks hlist navbar mini"><ul><li class="nv-view"><a href="/wiki/%C5%A0abl%C3%B3na:V%C3%BDznamn%C3%A9_programovacie_jazyky" title="Šablóna:Významné programovacie jazyky"><span title="Zobraz túto šablónu" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">z</span></a></li><li class="nv-talk"><a href="/wiki/Diskusia_k_%C5%A1abl%C3%B3ne:V%C3%BDznamn%C3%A9_programovacie_jazyky" title="Diskusia k šablóne:Významné programovacie jazyky"><span title="Diskusia o tejto šablóne" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">d</span></a></li><li class="nv-edit"><a class="external text" href="https://sk.wikipedia.org/w/index.php?title=%C5%A0abl%C3%B3na:V%C3%BDznamn%C3%A9_programovacie_jazyky&action=edit"><span title="Upraviť túto šablónu" style=";;background:none transparent;border:none;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none; padding:0;">u</span></a></li></ul></div><div id="Významné_programovacie_jazyky" style="font-size:114%;margin:0 4em"><a href="/wiki/Zoznam_programovac%C3%ADch_jazykov" title="Zoznam programovacích jazykov">Významné programovacie jazyky</a></div></th></tr><tr><td colspan="2" class="navbox-list navbox-odd hlist" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Ada_(programovac%C3%AD_jazyk)" title="Ada (programovací jazyk)">Ada</a></li> <li><a href="/wiki/ALGOL" title="ALGOL">ALGOL</a></li> <li><a href="/wiki/APL_(programovac%C3%AD_jazyk)" title="APL (programovací jazyk)">APL</a></li> <li><a href="/wiki/AWK" title="AWK">AWK</a></li> <li><a class="mw-selflink selflink">BASIC</a></li> <li><a href="/wiki/C_(programovac%C3%AD_jazyk)" title="C (programovací jazyk)">C</a></li> <li><a href="/wiki/C%2B%2B" title="C++">C++</a></li> <li><a href="/wiki/C_Sharp" title="C Sharp">C#</a></li> <li><a href="/wiki/COBOL" title="COBOL">COBOL</a></li> <li><a href="/wiki/D_(programovac%C3%AD_jazyk)" title="D (programovací jazyk)">D</a></li> <li><a href="/wiki/Eiffel_(programovac%C3%AD_jazyk)" title="Eiffel (programovací jazyk)">Eiffel</a></li> <li><a href="/w/index.php?title=Erlang_(programovac%C3%AD_jazyk)&action=edit&redlink=1" class="new" title="Erlang (programovací jazyk) (stránka neexistuje)">Erlang</a></li> <li><a href="/wiki/F_Sharp" title="F Sharp">F#</a></li> <li><a href="/w/index.php?title=Forth_(programovac%C3%AD_jazyk)&action=edit&redlink=1" class="new" title="Forth (programovací jazyk) (stránka neexistuje)">Forth</a></li> <li><a href="/wiki/Fortran" title="Fortran">Fortran</a></li> <li><a href="/wiki/Go_(programovac%C3%AD_jazyk)" title="Go (programovací jazyk)">Go</a></li> <li><a href="/wiki/Haskell_(programovac%C3%AD_jazyk)" title="Haskell (programovací jazyk)">Haskell</a></li> <li><a href="/wiki/Interface_description_language" title="Interface description language">IDL</a></li> <li><a href="/wiki/Java_(programovac%C3%AD_jazyk)" title="Java (programovací jazyk)">Java</a></li> <li><a href="/wiki/JavaScript" title="JavaScript">JavaScript</a></li> <li><a href="/wiki/Jazyk_symbolick%C3%BDch_in%C5%A1trukci%C3%AD" title="Jazyk symbolických inštrukcií">JSI</a></li> <li><a href="/w/index.php?title=Kotlin_(programovac%C3%AD_jazyk)&action=edit&redlink=1" class="new" title="Kotlin (programovací jazyk) (stránka neexistuje)">Kotlin</a></li> <li><a href="/wiki/Lisp" title="Lisp">Lisp</a></li> <li><a href="/wiki/Logo_(programovac%C3%AD_jazyk)" title="Logo (programovací jazyk)">Logo</a></li> <li><a href="/wiki/Lua" title="Lua">Lua</a></li> <li><a href="/w/index.php?title=ML_(programovac%C3%AD_jazyk)&action=edit&redlink=1" class="new" title="ML (programovací jazyk) (stránka neexistuje)">ML</a></li> <li><a href="/wiki/Objective-C" title="Objective-C">Objective-C</a></li> <li><a href="/wiki/Object_Pascal" title="Object Pascal">Object Pascal</a> (Delphi)</li> <li><a href="/wiki/Pascal_(programovac%C3%AD_jazyk)" title="Pascal (programovací jazyk)">Pascal</a></li> <li><a href="/wiki/Perl" title="Perl">Perl</a></li> <li><a href="/wiki/PHP_(skriptovac%C3%AD_jazyk)" title="PHP (skriptovací jazyk)">PHP</a></li> <li><a href="/wiki/PL/I" title="PL/I">PL/I</a></li> <li><a href="/w/index.php?title=PL/M&action=edit&redlink=1" class="new" title="PL/M (stránka neexistuje)">PL/M</a></li> <li><a href="/wiki/PL/SQL" title="PL/SQL">PL/SQL</a></li> <li><a href="/wiki/Prolog" title="Prolog">Prolog</a></li> <li><a href="/wiki/Python_(programovac%C3%AD_jazyk)" title="Python (programovací jazyk)">Python</a></li> <li><a href="/wiki/R_(programovac%C3%AD_jazyk)" title="R (programovací jazyk)">R</a></li> <li><a href="/wiki/Ruby_(programovac%C3%AD_jazyk)" title="Ruby (programovací jazyk)">Ruby</a></li> <li><a href="/wiki/Rust_(programovac%C3%AD_jazyk)" title="Rust (programovací jazyk)">Rust</a></li> <li><a href="/wiki/SAS_(programovac%C3%AD_jazyk)" title="SAS (programovací jazyk)">SAS</a></li> <li><a href="/wiki/Scratch" title="Scratch">Scratch</a></li> <li><a href="/wiki/Bourne_shell" title="Bourne shell">sh</a></li> <li><a href="/wiki/Scheme_(programovac%C3%AD_jazyk)" title="Scheme (programovací jazyk)">Scheme</a></li> <li><a href="/wiki/Simula" title="Simula">Simula</a></li> <li><a href="/wiki/Smalltalk" title="Smalltalk">Smalltalk</a></li> <li><a href="/wiki/Structured_Query_Language" title="Structured Query Language">SQL</a></li> <li><a href="/w/index.php?title=Swift_(programovac%C3%AD_jazyk)&action=edit&redlink=1" class="new" title="Swift (programovací jazyk) (stránka neexistuje)">Swift</a></li> <li><a href="/wiki/Visual_Basic" title="Visual Basic">Visual Basic</a></li></ul> </div></td></tr></tbody></table></div><div class="metadata plainlinks stub" style="float:none; clear:both; margin: .5em 0;"> <table cellpadding="0" cellspacing="0" style="background-color: transparent;"> <tbody><tr> <td><span typeof="mw:File"><a href="/wiki/S%C3%BAbor:Computer.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Computer.svg/30px-Computer.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Computer.svg/45px-Computer.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Computer.svg/60px-Computer.svg.png 2x" data-file-width="48" data-file-height="48" /></a></span> </td> <td style="padding-left: 0.25em"><i>Tento článok týkajúci sa <a href="/wiki/Po%C4%8D%C3%ADta%C4%8D" title="Počítač">počítačov</a> je zatiaľ „<a href="/wiki/Wikip%C3%A9dia:V%C3%BDhonok" title="Wikipédia:Výhonok">výhonok</a>“. Pomôž Wikipédii tým, že ho <a class="external text" href="https://sk.wikipedia.org/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&action=edit">doplníš a rozšíriš.</a></i> </td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐5dc468848‐l6hds Cached time: 20241122200346 Cache expiry: 2592000 Reduced expiry: false Complications: [] CPU time usage: 0.064 seconds Real time usage: 0.099 seconds Preprocessor visited node count: 1042/1000000 Post‐expand include size: 11806/2097152 bytes Template argument size: 365/2097152 bytes Highest expansion depth: 8/100 Expensive parser function count: 1/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 547/5000000 bytes Lua time usage: 0.006/10.000 seconds Lua memory usage: 632528/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 76.880 1 -total 43.82% 33.691 1 Šablóna:Infobox_Programovací_jazyk 38.20% 29.368 1 Šablóna:Infobox 36.01% 27.683 1 Šablóna:Významné_programovacie_jazyky 32.05% 24.637 1 Šablóna:Navbox 17.74% 13.636 1 Šablóna:Počítačový_výhonok 3.62% 2.781 1 Šablóna:Výhonok --> <!-- Saved in parser cache with key skwiki:pcache:idhash:6921-0!canonical and timestamp 20241122200346 and revision id 6765199. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Zdroj: „<a dir="ltr" href="https://sk.wikipedia.org/w/index.php?title=BASIC_(programovací_jazyk)&oldid=6765199">https://sk.wikipedia.org/w/index.php?title=BASIC_(programovací_jazyk)&oldid=6765199</a>“</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/%C5%A0peci%C3%A1lne:Kateg%C3%B3rie" title="Špeciálne:Kategórie">Kategórie</a>: <ul><li><a href="/wiki/Kateg%C3%B3ria:Po%C4%8D%C3%ADta%C4%8Dov%C3%A9_v%C3%BDhonky" title="Kategória:Počítačové výhonky">Počítačové výhonky</a></li><li><a href="/wiki/Kateg%C3%B3ria:Programovacie_jazyky" title="Kategória:Programovacie jazyky">Programovacie jazyky</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Skrytá kategória: <ul><li><a href="/wiki/Kateg%C3%B3ria:Str%C3%A1nky_se_zastaral%C3%BDmi_zna%C4%8Dkami_source" title="Kategória:Stránky se zastaralými značkami source">Stránky se zastaralými značkami source</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> Dátum a čas poslednej úpravy tejto stránky: 26. december 2018, 15:41.</li> <li id="footer-info-copyright">Text je dostupný za podmienok <a rel="nofollow" class="external text" href="//creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution/Share-Alike License 4.0 Unported</a>; prípadne za ďalších podmienok. Podrobnejšie informácie nájdete na stránke <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Podmienky použitia</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Ochrana osobných údajov</a></li> <li id="footer-places-about"><a href="/wiki/Wikip%C3%A9dia:O">O Wikipédii</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikip%C3%A9dia:Zrieknutie_sa_zodpovednosti">Zrieknutie sa zodpovednosti</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Pravidlá správania</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Vývojári</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/sk.wikipedia.org">Štatistiky</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Vyhlásenie o cookies</a></li> <li id="footer-places-mobileview"><a href="//sk.m.wikipedia.org/w/index.php?title=BASIC_(programovac%C3%AD_jazyk)&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobilné zobrazenie</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-mczds","wgBackendResponseTime":164,"wgPageParseReport":{"limitreport":{"cputime":"0.064","walltime":"0.099","ppvisitednodes":{"value":1042,"limit":1000000},"postexpandincludesize":{"value":11806,"limit":2097152},"templateargumentsize":{"value":365,"limit":2097152},"expansiondepth":{"value":8,"limit":100},"expensivefunctioncount":{"value":1,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":547,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 76.880 1 -total"," 43.82% 33.691 1 Šablóna:Infobox_Programovací_jazyk"," 38.20% 29.368 1 Šablóna:Infobox"," 36.01% 27.683 1 Šablóna:Významné_programovacie_jazyky"," 32.05% 24.637 1 Šablóna:Navbox"," 17.74% 13.636 1 Šablóna:Počítačový_výhonok"," 3.62% 2.781 1 Šablóna:Výhonok"]},"scribunto":{"limitreport-timeusage":{"value":"0.006","limit":"10.000"},"limitreport-memusage":{"value":632528,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-5dc468848-l6hds","timestamp":"20241122200346","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"BASIC (programovac\u00ed jazyk)","url":"https:\/\/sk.wikipedia.org\/wiki\/BASIC_(programovac%C3%AD_jazyk)","sameAs":"http:\/\/www.wikidata.org\/entity\/Q42979","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q42979","author":{"@type":"Organization","name":"P\u0159isp\u011bvatel\u00e9 projekt\u016f Wikimedia"},"publisher":{"@type":"Organization","name":"nadace Wikimedia","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2004-12-03T12:04:04Z","dateModified":"2018-12-26T15:41:02Z","headline":"programovac\u00ed jazyk"}</script> </body> </html>