File: ro_operators.html

package info (click to toggle)
basic256 1.1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 24,460 kB
  • sloc: cpp: 10,148; yacc: 3,023; java: 1,091; lex: 1,051; sh: 117; xml: 33; makefile: 15
file content (90 lines) | stat: -rw-r--r-- 4,858 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en" dir="ltr" class="no-js">
<head>
    <meta charset="utf-8" />
    <title>ro:operators [BASIC 256 - Language Documentation]</title>
<link rel="stylesheet" type="text/css" href="lib/exe/cssc171c1dfe8519125bb40a349172b001a.css"/>
    </head>
<body>
    <div id="dokuwiki__site"><div id="dokuwiki__top" class="site dokuwiki mode_show tpl_dokuwiki     ">
<div id="dokuwiki__header"><div class="pad group">
    <div class="headings group">
        <h1><a href="start.html"  accesskey="h" title="[H]"><img src="lib/tpl/dokuwiki/images/logo.png" width="64" height="64" alt="" /> <span>BASIC 256 - Language Documentation</span></a></h1>
            </div>
    </div>
            <div class="breadcrumbs">
                            <div class="youarehere"><span class="bchead">You are here: </span><span class="home"><bdi><a href="start.html" class="wikilink1" title="start">start</a></bdi></span> » <bdi><a href="ro_start.html" class="wikilink1" title="ro:start">ro</a></bdi> » <bdi><span class="curid"><a href="ro_operators.html" class="wikilink1" title="ro:operators">operators</a></span></bdi></div>
                    </div>
    <hr class="a11y" />
</div></div>
        <div class="wrapper group">
            <div id="dokuwiki__content"><div class="pad group">
                <div class="pageId"><span>ro:operators</span></div>
                <div class="page group">
<h2 class="sectionedit1" id="operatori">Operatori</h2>
<div class="level2">
<p>
Operatorii +, -, *, / si ^ sunt folosite pentru a realiza adunarea, scaderea, inmultirea, impartirea si ridicarea la putere a numerelor intregi sau in virgula mobila. <br/>
<br/>
Operatorii  %, \, &amp;, |, si ~ sunt folositi pentru a calcula modulo, impartirea intreaga, functia SI pe biti, functia SAU pe biti si negarea pe biti a expresiilor intregi. Numerele in virgula mobila vor fi convertite la valoare intreaga inaintea operatiei.<br/>
<br/>
Operatorul =e folosit atat pentru atribuire de variabile cat si pentru testare de egalitate. Operatorul +poate fi folosit pentru a realiza concatenarea sirurilor de constante si de variabile. Operatorul : poate separa instructiunile multiple sacrise pe o singura linie. Operatorul ; suprima noua linie care este tiparita de instructiunea PRINT. Operatorul # este o scurtatura pentru comanda <a href="ro_rem.html" class="wikilink2" title="ro:rem" rel="nofollow">Rem</a> si este interschimbabila cu ea.<br/>
<br/>
</p>
<div class="table sectionedit2"><table class="inline">
	<tr class="row0">
		<th class="col0" colspan="3">Ordinea operatiilor</th>
	</tr>
	<tr class="row1">
		<th class="col0">Nivel</th><th class="col1">Operatori</th><th class="col2">Categorie/Descriere</th>
	</tr>
	<tr class="row2">
		<td class="col0">1</td><td class="col1">( )</td><td class="col2">Grupare</td>
	</tr>
	<tr class="row3">
		<td class="col0">2</td><td class="col1">^</td><td class="col2">Exponent</td>
	</tr>
	<tr class="row4">
		<td class="col0">3</td><td class="col1">- ~</td><td class="col2">Minus Unar si Negare la nivel de bit (NOT)</td>
	</tr>
	<tr class="row5">
		<td class="col0">4</td><td class="col1">* / \</td><td class="col2">Multiplicare si Impartire</td>
	</tr>
	<tr class="row6">
		<td class="col0">5</td><td class="col1">%</td><td class="col2">Restul impartirii intregilor(Mod)</td>
	</tr>
	<tr class="row7">
		<td class="col0">6</td><td class="col1">+ -</td><td class="col2">Adunare, Concatenare si Scadere</td>
	</tr>
	<tr class="row8">
		<td class="col0">7</td><td class="col1">&amp; |</td><td class="col2">Testare pe bit SI si SAU</td>
	</tr>
	<tr class="row9">
		<td class="col0">8</td><td class="col1">&lt; ⇐ &gt; &gt;= = &lt;&gt;</td><td class="col2">Comparare (Numeric sau Sir)</td>
	</tr>
	<tr class="row10">
		<td class="col0">9</td><td class="col1">NOT</td><td class="col2">NOT Unar</td>
	</tr>
	<tr class="row11">
		<td class="col0">10</td><td class="col1">AND</td><td class="col2">SI Logic</td>
	</tr>
	<tr class="row12">
		<td class="col0">11</td><td class="col1">OR</td><td class="col2">SAU Logic</td>
	</tr>
	<tr class="row13">
		<td class="col0">12</td><td class="col1">XOR</td><td class="col2">SAU-Exclusiv Logic</td>
	</tr>
</table></div>
</div>
                                    </div>
                <div class="docInfo"><bdi>ro/operators.txt</bdi> · Last modified: 2012/04/29 02:51 by <bdi>andi</bdi></div>
                            </div></div>
            <hr class="a11y" />
        </div>
<div id="dokuwiki__footer"><div class="pad">
    <div class="license">Except where otherwise noted, content on this wiki is licensed under the following license: <bdi><a href="http://creativecommons.org/licenses/by-sa/3.0/" rel="license" class="urlextern">CC Attribution-Share Alike 3.0 Unported</a></bdi></div>
</div></div>
    </div></div>
    <div id="screen__mode" class="no"></div>
</body>
</html>