# Polish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Przemek Borys , 1999-2000. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2025-02-16 05:40+0100\n" "PO-Revision-Date: 2000-02-21 15:11+0100\n" "Last-Translator: Przemek Borys \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" #. type: TH #: expr.3tcl:248 #, no-wrap msgid "expr" msgstr "expr" #. type: TH #: expr.3tcl:248 #, no-wrap msgid "8.0" msgstr "8.0" #. type: TH #: expr.3tcl:248 #, no-wrap msgid "Tcl" msgstr "Tcl" #. type: TH #: expr.3tcl:248 #, no-wrap msgid "Built-in Tcl commands" msgstr "Wbudowane komendy Tcl" #. Note: do not modify the .SH NAME line immediately below! #. type: SH #: expr.3tcl:251 #, no-wrap msgid "NAME" msgstr "NAZWA" #. type: Plain text #: expr.3tcl:253 msgid "expr - Calculate expression" msgstr "expr - Oblicz wyrażenie" #. type: SH #: expr.3tcl:253 #, no-wrap msgid "SYNOPSIS" msgstr "SKŁADNIA" #. type: Plain text #: expr.3tcl:255 msgid "BI?I?" msgstr "BI?I?" #. type: SH #: expr.3tcl:257 #, no-wrap msgid "DESCRIPTION" msgstr "OPIS" #. type: Plain text #: expr.3tcl:265 msgid "" "Concatenates the successive I parameters (adding spaces between them) " "and evaluates the result as a Tcl expression, returning a value. The legal " "Tcl expressions are a subset of the operators legal in C expressions, and " "have the same meaning and precedence as the corresponding C operators. " "Expressions almost always produce numeric results (integer or floating " "point). For example, the expression" msgstr "" "Łączy kolejne parametry I (dodając między nimi spacje) i analizuje wynik " "jako wyrażenie Tcl, zwracając wartość. Dozwolone wyrażenia Tcl są podzbiorem " "operatorów dozwolonych w wyrażeniach C i mają takie samo znaczenie i " "pierwszeństwo, jak odpowiadające im operatory C. Wyrażenia dają prawie " "zawsze wyniki numeryczne (całkowite, lub zmiennoprzecinkowe). Np. wyrażenie" #. type: Plain text #: expr.3tcl:267 msgid "B" msgstr "B" #. type: Plain text #: expr.3tcl:272 msgid "" "goes into 14.2. Tcl expressions differ from C expressions in that the " "operands are specified differently. In addition, Tcl expressions support non-" "numeric operands and string comparisons." msgstr "" "przechodzi w 14.2. Wyrażenia Tcl różnią się od wyrażeń C tym, że operandy są " "podawane w inny sposób. Poza tym, wyrażenia Tcl obsługują operandy " "nienumeryczne oraz porównania łańcuchów." #. type: SH #: expr.3tcl:272 #, no-wrap msgid "OPERANDS" msgstr "OPERANDY" #. type: Plain text #: expr.3tcl:291 msgid "" "A Tcl expression consists of a combination of operands, operators, and " "parentheses. Whitespace may be used between operands and operators; it is " "ignored. Where possible, operands are interpreted as integer values. Integer " "values ​​may be specified in decimal (the normal case), octal (if the first " "character of the operand is B<0>), or hexadecimal (if the first characters of " "the operand are B<0x>). If the operand is not in one of the above integer " "formats, it is treated as a floating-point number if possible. Floating-point " "variables may be specified in any of the ways supported by an ANSI-compliant " "C compiler (except that the suffixes B, B, B, and B will not be " "allowed in most installations). For example, the following numbers are all " "valid floating-point numbers: 2.1, 3., 6e4, 7.91e+16. If no numeric " "interpretation is possible, the operand is left as a string (but then only a " "restricted set of operators can be used)." msgstr "" "Wyrażenie Tcl składa się z kombinacji operandów, operatorów i nawiasów. " "Między operandami i operatorami można używać białych spacji; są one " "ignorowane. Tam gdzie mozliwe, operandy są interpretowane jako wartości " "całkowite. Wartości całkowite można podawać dziesiętnie (normalny wypadek), " "ósemkowo (jeśli pierwszym znakiem operandu jest B<0>) lub szesnastkowo (jeśli " "pierwszymi znakami operandu są B<0x>). Jeśli operand nie jest w żadnym z " "powyszszych formatów całkowitych, to o ile jest to możliwe, jest traktowany " "jako liczba zmiennoprzecinkowa. Zmienne zmiennoprzecinkowe mogą być podawane " "w dowolny ze sposobów, obsługiwanych przez zgodny z ANSI kompilator C (poza " "tym, że przyrostki B, B, B i B w większości instalacji nie będą " "dozwolone). Na przykład, wszystkie następujące liczby są poprawnymi liczbami " "zmiennoprzecinkowymi: 2.1, 3., 6e4, 7.91e+16. Jesli nie jest możliwa " "interpretacja numeryczna, to operand jest pozostawiany jako łańcuch (wtedy " "jednak można stosować tylko ograniczony zestaw operatorów)." #. type: Plain text #: expr.3tcl:293 msgid "Operands can be specified in the following ways:" msgstr "Operandy mogą być podawane w następujące sposoby:" #. type: IP #: expr.3tcl:293 #, no-wrap msgid "[1]" msgstr "[1]" #. type: Plain text #: expr.3tcl:295 msgid "As a numeric, integer, or floating point value." msgstr "Jako wartość numeryczną, całkowitą albo zmiennoprzecinkową." #. type: IP #: expr.3tcl:295 #, no-wrap msgid "[2]" msgstr "[2]" #. type: Plain text #: expr.3tcl:298 msgid "" "As a Tcl variable, using the standard B<$> notation. The value of the " "variable will be used as the operand." msgstr "" "Jako zmienną Tcl, przy użyciu standardowej notacji B<$>. Wartość zmiennej " "zostanie wykorzystana jako operand." #. type: IP #: expr.3tcl:298 #, no-wrap msgid "[3]" msgstr "[3]" #. type: Plain text #: expr.3tcl:302 msgid "" "As a string enclosed in double quotes. The expression's processing will be " "sensitive to slash, variable, and command substitutions, and will use the " "result as an operand." msgstr "" "Jako łańcuch ujęty w podwójne cudzysłowy. Przetwarzanie wyrażenia będzie " "wrażliwe na podstawienia ukośnikowe, zmiennych i komend, i użyje wyniku jako " "operandu." #. type: IP #: expr.3tcl:302 #, no-wrap msgid "[4]" msgstr "[4]" #. type: Plain text #: expr.3tcl:305 msgid "" "As a string enclosed in curly braces. The characters between the opening and " "closing braces will be used as the operand without any substitution." msgstr "" "Jako łańcuch ujęty w nawiasy klamrowe. Znaki między klamrą otwierającą i " "zamykającą zostaną użyte jako operand bez żadnego podstawiania." #. type: IP #: expr.3tcl:305 #, no-wrap msgid "[5]" msgstr "[5]" #. type: Plain text #: expr.3tcl:308 msgid "" "As a Tcl command in square brackets. The command will be executed and its " "result used as an operand." msgstr "" "Jako komenda Tcl w naiwasach kwadratowych. Komenda zostanie wykonana, a jej " "wynik użyty jako operand." #. type: IP #: expr.3tcl:308 #, no-wrap msgid "[6]" msgstr "[6]" #. type: Plain text #: expr.3tcl:312 msgid "" "As a mathematical function whose arguments have any of the above forms, such " "as B. See below for a list of defined functions." msgstr "" "Jako funkcja matematyczna, której argumenty mają dowolną z powyższych " "postaci, taka jak B. Zobacz niżej dla listy zdefiniowanych funkcji." #. type: Plain text #: expr.3tcl:319 msgid "" "Where substitutions occur, they are performed by the expression statements. " "However, another level of substitution may have already been performed by the " "statement processor before the expression processor is invoked. As the " "following discussion shows, it is usually best to enclose expressions in " "braces, which prevents the processor from making substitutions to the " "contents." msgstr "" "Tam gdzie zachodzą podstawienia, są one dokonywane przez instrukcje " "wyrażenia. Jednak mógł też zostać już wykonany inny poziom podstawiania, " "dokonywany przez przetwarzacza poleceń przed wywołaniem przetwarzacza " "wyrażeń. Jak pokazuje poniższa dyskusja, zwykle najlepiej jest ujmować " "wyrażenia w klamry, co zapobiega by przetwarzacz dokonał podstawień " "zawartości." #. type: Plain text #: expr.3tcl:325 msgid "" "For some examples of simple expressions, assume that the variable B has " "the value 3 and the variable B has the value 6. Then, the command on the " "left side of each line will produce the result shown on the right side." msgstr "" "Dla pewnych przykładów prostych wyrażeń, załóżmy że zmienna B ma wartość " "3, a zmienna B wartość 6. Następnie, komenda po lewej stronie każdej z " "linii da wynik, widoczny po prawej stronie." #. type: ta #: expr.3tcl:326 #, no-wrap msgid "6c" msgstr "6c" #. type: Plain text #: expr.3tcl:331 msgid "" "B \"word $a\"}\t0>" msgstr "" "B \"word $a\"}\t0>" #. type: SH #: expr.3tcl:332 #, no-wrap msgid "OPERATORS" msgstr "OPERATORY" #. type: Plain text #: expr.3tcl:336 msgid "" "Valid operators are listed below; they are grouped by decreasing precedence:" msgstr "" "Poniżej wymienione są prawidłowe operatory; są one zgrupowane według " "malejącego priorytetu:" #. type: TP #: expr.3tcl:336 #, no-wrap msgid "B<-\\0\\0+\\0\\0~\\0\\0!>" msgstr "B<-\\0\\0+\\0\\0~\\0\\0!>" #. type: Plain text #: expr.3tcl:341 msgid "" "Unary minus, unary plus, bitwise NOT, and logical NOT. None of these " "operators can be applied to string operands, and bitwise NOT can only be " "applied to integers." msgstr "" "Jednoargumentowy minus, jednoargumentowy plis, bitowy NOT i logiczny NOT. " "Żaden z tych operatorów nie może być stosowany do operandów łańcuchowych, a " "bitowy NOT może być stosowany tylko do liczb całkowitych." #. type: TP #: expr.3tcl:341 #, no-wrap msgid "B<*\\0\\0/\\0\\0%>" msgstr "B<*\\0\\0/\\0\\0%>" #. type: Plain text #: expr.3tcl:348 msgid "" "Multiplication, division, remainder. None of these operators can be applied " "to string operands, and remainder can only be applied to integers. The " "remainder always has the sign of the divisor and its absolute value is always " "less than the value of the divisor." msgstr "" "Mnożenie, dzielenie, reszta. Żaden z tych operatorów nie może być stosowany " "do operandów łańcuchowych, a reszta może być stosowana tylko do liczb " "całkowitych. Reszta ma zawsze znak dzielnika i jej wartość absolutna jest " "zawsze mnijesza niż wartość dzielnika." #. type: TP #: expr.3tcl:348 #, no-wrap msgid "B<+\\0\\0->" msgstr "B<+\\0\\0->" #. type: Plain text #: expr.3tcl:351 msgid "Addition and subtraction. Valid for any numeric operands." msgstr "" "Dodawanie i odejmowanie. Prawidłowe dla dowolnych operandów numerycznych." #. type: TP #: expr.3tcl:351 #, no-wrap msgid "BE\\0\\0EE>" msgstr "BE\\0\\0EE>" #. type: Plain text #: expr.3tcl:355 msgid "" "Shift left and right. Valid only for integer operands. Shifting right " "propagates the sign bit." msgstr "" "Przesuwanie w lewo i w prawo. Prawidłowe tylko dla operandów całkowitych. " "Przesuwanie w prawo propaguje bit znaku." #. type: TP #: expr.3tcl:355 #, no-wrap msgid "B\\0\\0E\\0\\0E=\\0\\0E=>" msgstr "B\\0\\0E\\0\\0E=\\0\\0E=>" #. type: Plain text #: expr.3tcl:361 msgid "" "Logical less than, greater than, less than or equal to, greater than or equal " "to. Each operator produces 1 if the condition is true, or 0 otherwise. The " "operands can be either numeric or string values, in which case a string " "comparison is performed." msgstr "" "Logiczny mniejszy, większy, mniejszy lub równy, większy lub równy. Każdy " "operator daje 1 jeśli warunek jest spełniony lub 0 w przeciwnym wypadku. " "Operandami mogą być zarówno wartości numeryczne, jak i łańcuchowe, w którym " "wypadku dokonywane jest porównywanie łańcuchów." #. type: TP #: expr.3tcl:361 #, no-wrap msgid "B<==\\0\\0!=>" msgstr "B<==\\0\\0!=>" #. type: Plain text #: expr.3tcl:365 msgid "" "Logical equality and inequality. Each operator produces a result of zero/one. " "Valid for any operands." msgstr "" "Logiczna równość i nierówność. Każdy operator daje wynik zero/jeden. " "Prawidłowe dla wszelkich operandów." #. type: TP #: expr.3tcl:365 #, no-wrap msgid "B<&>" msgstr "B<&>" #. type: Plain text #: expr.3tcl:368 msgid "Bitwise AND. Valid only for integer operands." msgstr "Bitowy AND. Prawidłowy tylko dla operandów całkowitych." #. type: TP #: expr.3tcl:368 #, no-wrap msgid "B<^>" msgstr "B<^>" #. type: Plain text #: expr.3tcl:371 msgid "Bitwise XOR. Only valid for integer operands." msgstr "Bitowy XOR. Prawidłowy tylko dla operandów całkowitych." #. type: TP #: expr.3tcl:371 #, no-wrap msgid "B<|>" msgstr "B<|>" #. type: Plain text #: expr.3tcl:374 msgid "Bitwise OR. Valid only for integer operands." msgstr "Bitowy OR. Prawidłowy tylko dla operandów całkowitych." #. type: TP #: expr.3tcl:374 #, no-wrap msgid "B<&&>" msgstr "B<&&>" #. type: Plain text #: expr.3tcl:379 msgid "" "Logical AND. Returns 1 if both operands are nonzero, or 0 otherwise. Valid " "for logical and numeric operands." msgstr "" "Logiczny AND. Daje 1 jeśli obydwa operandy są niezerowe, lub 0 w przeciwnym " "wypadku. Prawidłowe dla operandów logicznych i numerycznych." #. type: TP #: expr.3tcl:379 #, no-wrap msgid "B<||>" msgstr "B<||>" #. type: Plain text #: expr.3tcl:383 msgid "" "Logical OR. Returns 0 if both operands are zero or 1 otherwise. Valid for " "logical and numeric operands." msgstr "" "Logiczny OR. Daje 0 jeśli obydwa operandy są zerowe lub 1 w przeciwnym " "wypadku. Prawidłowe dla operandów logicznych i numerycznych." #. type: TP #: expr.3tcl:383 #, no-wrap msgid "IBIB<:>I" msgstr "IBIB<:>I" #. type: Plain text #: expr.3tcl:389 msgid "" "If-then-else, as in C. If I evaluates to a nonzero value, the result is " "the value of I. Otherwise, the result is I. The operand of I must be " "a numeric value." msgstr "" "Jeżeli-to-inaczej, jak w C. Jeśli I rozwija się na wartość niezerową, to " "wynikiem jest wartość I. W przeciwnym wypadku wartością wynikową jest " "I. Operand I musi mieć wartość numeryczną." #. type: Plain text #: expr.3tcl:393 msgid "" "See the C manual for further details on the results produced by operators. " "All binary operators group from left to right with the same precedence. For " "example, the command" msgstr "" "Zobacz podręcznik C dla dalszych szczegółów o wynikach, dawanych przez " "operatory. Wszystkie operatory binarne grupują się od lewej do prawej w tym " "samym priorytecie. Np. komenda" #. type: Plain text #: expr.3tcl:395 msgid "B 7>" msgstr "B 7>" #. type: Plain text #: expr.3tcl:397 msgid "gives 0." msgstr "daje 0." #. type: Plain text #: expr.3tcl:401 msgid "" "The operators B<&&>, B<||>, and B have ``lazy analysis'', just like in C, " "meaning that the operands are not evaluated unless they are needed to " "determine the result. For example, in the command" msgstr "" "Operatory B<&&>, B<||> i B mają ``leniwą analizę'', zupełnie jak w C, co " "znaczy, że operandy nie są analizowane jeśli nie ma takiej potrzeby do " "określenia wyniku. Np. w komendzie" #. type: Plain text #: expr.3tcl:403 msgid "B" msgstr "B" #. type: Plain text #: expr.3tcl:409 msgid "" "only one of B<[a]> or B<[b]> will be evaluated, depending on the value of " "B<$v>. Note, however, that this is only true if the entire expression is " "enclosed in curly braces; otherwise, the Tcl parser will parse both B<[a]> " "and B<[b]> before invoking the B command." msgstr "" "analizowane będzie tylko jedno z B<[a]> lub B<[b]>, zależnie od wartości " "B<$v>. Zauważ jednak, że jest to prawdziwe tylko jeśli całe wyrażenie jest " "ujęte w nawiasy klamrowe; w przeciwnym wypadku przetwarzacz Tcl przemieli " "zarówno B<[a]> jak i B<[b]> jeszcze przed wywołaniem komendy B." #. type: SH #: expr.3tcl:409 #, no-wrap msgid "MATHEMATICAL FUNCTIONS" msgstr "FUNKCJE MATEMATYCZNE" #. type: Plain text #: expr.3tcl:412 msgid "Tcl supports the following mathematical expression functions:" msgstr "Tcl obsługuje następujące funkcje matematyczne wyrażeń:" #. type: tbl table #: expr.3tcl:414 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:414 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:414 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:414 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:415 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:415 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:415 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:415 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:416 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:416 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:416 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:416 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:417 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:417 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:417 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:417 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:418 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:418 #, no-wrap msgid "B" msgstr "B" #. type: tbl table #: expr.3tcl:418 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: expr.3tcl:424 msgid "" "Each of these functions calls a math library function of the same name. Tcl " "also implements the following functions for converting between integers, " "floating-point numbers, and drawing random numbers:" msgstr "" "Każda z tych funkcji woła funkcję biblioteki matematycznej o tej samej " "nazwie. Tcl ponadto implemntuje następujące funkcje dla konwersji między " "liczbami całkowitymi, zmiennoprzecinkowymi i losowania liczb losowych:" #. type: TP #: expr.3tcl:424 #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: expr.3tcl:428 msgid "" "Returns the modulus of I. I can be an integer or a floating point " "number; the result is returned in the same form." msgstr "" "Zwraca wartość modułu I. I może być liczbą całkowitą, lub " "zmiennoprzecinkową; wynik jest zwracany w tej samej postaci." #. type: TP #: expr.3tcl:428 #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: expr.3tcl:433 msgid "" "If I is a floating-point number, I is returned. Otherwise, I " "is converted to floating-point form and returned." msgstr "" "Jeśli I jest liczbą zmiennoprzecinkową, zwracane jest I. W " "przeciwnym wypadku I jest konwertowany na postać zmiennoprzecinkową i " "zwracany w tej postaci." #. type: TP #: expr.3tcl:433 #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: expr.3tcl:436 msgid "As above, but convert to an integer." msgstr "Jak wyżej, ale zamiana na liczbę całkowitą." #. type: TP #: expr.3tcl:436 #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: expr.3tcl:440 msgid "" "Returns a floating point number between zero and 1. The seed comes from the " "machine's internal clock, or may be set manually with the srand function." msgstr "" "Zwraca liczbę zmiennoprzecinkową w zakresie od zera do 1. Nasienie pochodzi z " "wewnętrznego zegara maszyny, lub może być ustawiane ręcznie funkcją srand." #. type: TP #: expr.3tcl:440 #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: expr.3tcl:445 msgid "" "If I is integer, I is returned. Otherwise, I is converted to " "integer form by rounding." msgstr "" "Jeśli I jest całkowite, zwracane jest I. W przeciwnym wypadku " "I jest konwertowane na postać całkowitą poprzez zaokrąglanie." #. type: TP #: expr.3tcl:445 #, no-wrap msgid "BIB<)>" msgstr "BIB<)>" #. type: Plain text #: expr.3tcl:450 msgid "" "The parameter I, which must be an integer, is used to reset the random " "number generator seed. It returns the first random number for that seed. Each " "interpreter has its own seed." msgstr "" "Parametr I, który musi być liczbą całkowitą, służy do resetowania " "nasienia generatora liczb losowych. Zwraca pierwszą liczbę losową dla tego " "nasienia. Każdy interpreter ma swoje własne nasienie." #. type: Plain text #: expr.3tcl:453 msgid "" "In addition to these predefined functions, applications can define other " "functions using B()." msgstr "" "W dodatku do tych predefiniowanych funkcji, aplikacje mogą definiować inne " "funkcje, korzystając z B()." #. type: SH #: expr.3tcl:453 #, no-wrap msgid "TYPES, OVERFLOW AND PRECISION" msgstr "TYPY, PRZEPEŁNIENIE I PRECYZJA" #. type: Plain text #: expr.3tcl:463 msgid "" "All internal integer calculations are done on the C I type, and all " "floating-point calculations are done on the I type. When converting a " "string to a floating-point number, an exponential overflow is detected, which " "causes a Tcl error. For string to integer conversions, overflow detection " "depends on the behavior of certain C library functions, so it is unlikely to " "be reliable." msgstr "" "Wszystkie obliczenia wewnętrzne na liczbach całkowitych są dokonywane w typie " "I z C, a wszystkie obliczenia zmiennoprzecinkowe na typie I. " "Podczas konwersji łańcucha na liczbę zmiennoprzecinkową, wykrywane jest " "przepełnienie eksponentne, co powoduje błąd Tcl. Dla konwersji łańcucha na " "liczbę całkowitą, wykrywanie przepełnienia zależy od zachowania pewnych " "funkcji biblioteki C, więc raczej nie można na tym polegać." #. type: Plain text #: expr.3tcl:470 msgid "" "Conversion between integer, floating point, and string representations of " "operands is performed automatically where needed. For arithmetic " "computations, integer variables are used until a floating point number is " "encountered, at which point floating point numbers are used instead. For " "example," msgstr "" "Konwersja między reprezentacjami całkowitymi, zmiennoprzecinkowymi i " "łańcuchowymi operandów jest wykonywana automatycznie tam gdzie potrzeba. Dla " "obliczeń arytmetycznych zmienne całkowite są używane tak długo, aż nie pojawi " "się liczba zmiennoprzecinkowa i wtedy zaczyna się używanie liczb " "zmiennoprzecinkowych. Na przykład," #. type: Plain text #: expr.3tcl:472 msgid "B" msgstr "B" #. type: Plain text #: expr.3tcl:474 msgid "returns 1, while" msgstr "zwraca 1, podczas gdy" #. type: Plain text #: expr.3tcl:477 msgid "B B" msgstr "B B" #. type: Plain text #: expr.3tcl:481 msgid "" "returns 1.25. Floating point values ​​are always returned with ``B<.>'' or " "B, so they don't look like integers. For example," msgstr "" "zwraca 1.25. Wartości zmiennoprzecinkowe są zawsze zwracane z ``B<.>'' lub " "B, więc nie wyglądają jak liczby całkowite. Na przykład," #. type: Plain text #: expr.3tcl:483 msgid "B" msgstr "B" #. type: Plain text #: expr.3tcl:485 msgid "returns B<4.0>, not B<4>." msgstr "zwraca B<4.0>, nie B<4>." #. type: SH #: expr.3tcl:486 #, no-wrap msgid "CHAIN ​​OPERATIONS" msgstr "OPERACJE ŁAŃCUCHOWE" #. type: Plain text #: expr.3tcl:492 msgid "" "If one of the comparison operands is a string and the other is a numeric " "value, the numeric operand is converted using the B<%d> or B<%g> format of " "the C function I(3) back to a string. For example, the commands" msgstr "" "Jeśli jeden z operandów porównania jest łańcuchem, a drugi ma wartość " "numeryczną, to operand numeryczny jest konwertowany z użyciem formatu B<%d> " "lub B<%g> funkcji I(3) języka C z powrotem na łańcuch. Na przykład " "komendy" #. type: Plain text #: expr.3tcl:495 msgid "B \"2\"}> B \"0x12\"}>" msgstr "B \"2\"}> B \"0x12\"}>" #. type: Plain text #: expr.3tcl:503 msgid "" "return 1. The first comparison is done in an integer comparison, and the " "second is done in a string comparison, after converting the second operand to " "the string B<18>. Because Tcl tends to treat values ​​as numbers whenever " "possible, using the B<==> and similar operators is not a good idea if you " "really want a string comparison; it's better to use the B " "command." msgstr "" "zwracają 1. Pierwsze porównanie jest dokonywane w porównaniu całkowitym, a " "drugie w porównaniu łańcuchowym, po przekonwertowaniu drugiego operandu na " "łańcuch B<18>. Ponieważ Tcl ma tendencje do traktowania wartości tam gdzie " "możliwe jako liczby, to używanie operatorów B<==> i podobnych nie jest dobrym " "pomysłem, jeśli naprawdę chcesz porównania łańcuchowego; lepiej użyć komendy " "B." #. type: SH #: expr.3tcl:504 #, no-wrap msgid "PERFORMANCE CONSIDERATIONS" msgstr "ROZWAŻANIA O WYDAJNOŚCI" #. type: Plain text #: expr.3tcl:510 msgid "" "If you want the most speed and the least memory usage, enclose your " "expressions in curly braces. This allows the Tcl bitcode compiler to generate " "the best possible code." msgstr "" "Jeśli chcesz jak największej szybkości i najmniejszego zajmowania pamięci, " "ujmuj wyrażenia w klamry. Umożliwia to kompilatorowi kodu bitowego Tcl " "wygenerowanie jak najlepszego kodu." #. type: Plain text #: expr.3tcl:514 msgid "" "As mentioned above, two substitutions are made in expressions: once by the " "Tcl parser, once by the B command. For example, the commands" msgstr "" "Jak wspomniano wyżej, w wyrażeniach dokonuje się dwóch podstawień: raz przez " "przetwarzacz Tcl, raz przez komendę B. Na przykład, komendy" #. type: Plain text #: expr.3tcl:518 msgid "B B B" msgstr "B B B" #. type: Plain text #: expr.3tcl:523 msgid "" "return 11, not a multiple of 4. This is because the Tcl parser first " "substitutes B<$a + 2> for the variable B, and then the B command " "processes the expression B<$a + 2*4>." msgstr "" "zwracają 11, a nie wielokrotność 4. Jest tak dlatego, że przetwarzacz Tcl " "najpierw podstawia za B<$a + 2> zmienną B, a następnie komenda B " "przetwarza wyrażanie B<$a + 2*4>." #. type: Plain text #: expr.3tcl:532 msgid "" "Most expressions do not require a second round of substitutions. They are " "either enclosed in braces, or their variable and command substitution process " "produces numbers and strings that do not require substitutions as such. " "However, because unbraced expressions require two rounds of substitutions, " "the bitcode compiler must emit additional instructions to handle this " "situation. The most expensive code generated is for unbraced expressions that " "contain command substitutions. These expressions must be implemented by " "generating new code each time the expression is executed." msgstr "" "Większość wyrażeń nie wymaga drugiej kolejki podstawień. Są one albo ujmowane " "w klamry, albo ich proces podstawiania zmiennych i komend daje liczby i " "łańcuchy, nie wymagające podstawień jako takich. Jednak z uwagi na to, że " "nieuklamrowione wyrażenia wymagają dwóch rund podstawień, kompilator kodu " "bitowego musi emitować dodatkowe instrukcje obsługi takiej sytuacji. " "Najkosztowniejszy kod generowany jest dla nieuklamrowionych wyrażeń, które " "zawierają podstawienia komend. Wyrażenia te muszą być implementowane przez " "generowanie nowego kodu za każdym wykonaniem wyrażenia." #. type: SH #: expr.3tcl:534 #, no-wrap msgid "KEYWORDS" msgstr "SŁOWA KLUCZOWE" #. type: Plain text #: expr.3tcl:535 msgid "arithmetic, logical, comparison, expression, fuzzy comparison" msgstr "arytmetyka, logiczny, porównanie, wyrażenie, porównanie rozmyte"