| 1 |
# Spanish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# J. Ramón Palacios <[email protected]>, 1999. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n\n" |
| 8 |
"POT-Creation-Date: 2026-02-27 18:41+0100\n" |
| 9 |
"PO-Revision-Date: 2021-06-07 16:44+0200\n" |
| 10 |
"Last-Translator: J. Ramón Palacios <[email protected]>\n" |
| 11 |
"Language-Team: Spanish <[email protected]>\n" |
| 12 |
"Language: es\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 17 |
|
| 18 |
#. type: TH |
| 19 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 20 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 21 |
#, no-wrap |
| 22 |
msgid "bc" |
| 23 |
msgstr "bc" |
| 24 |
|
| 25 |
#. type: TH |
| 26 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 27 |
#, no-wrap |
| 28 |
msgid "2025-01-10" |
| 29 |
msgstr "10 Enero 2025" |
| 30 |
|
| 31 |
#. type: TH |
| 32 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 33 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 34 |
#, no-wrap |
| 35 |
msgid "GNU Project" |
| 36 |
msgstr "Proyecto GNU" |
| 37 |
|
| 38 |
#. type: SH |
| 39 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 40 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 41 |
#, no-wrap |
| 42 |
msgid "NAME" |
| 43 |
msgstr "NOMBRE" |
| 44 |
|
| 45 |
#. type: Plain text |
| 46 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 47 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 48 |
msgid "bc - An arbitrary precision calculator language" |
| 49 |
msgstr "bc - Un lenguaje de cálculo de precisión arbitraria" |
| 50 |
|
| 51 |
#. type: SH |
| 52 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 53 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 54 |
#, no-wrap |
| 55 |
msgid "SYNTAX" |
| 56 |
msgstr "SINTAXIS" |
| 57 |
|
| 58 |
#. type: Plain text |
| 59 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 60 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 61 |
msgid "B<bc> [ B<-hlwsqv> ] [long-options] [ I< file ...> ]" |
| 62 |
msgstr "B<bc> [ B<-hlwsqv> ] [opciones largas] [ I< fichero ...> ]" |
| 63 |
|
| 64 |
#. type: SH |
| 65 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 66 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
#, no-wrap |
| 68 |
msgid "DESCRIPTION" |
| 69 |
msgstr "DESCRIPCIÓN" |
| 70 |
|
| 71 |
#. type: Plain text |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
msgid "" |
| 75 |
"B<bc> is a language that supports arbitrary precision numbers with " |
| 76 |
"interactive execution of statements. There are some similarities in the " |
| 77 |
"syntax to the C programming language. A standard math library is available " |
| 78 |
"by command line option. If requested, the math library is defined before " |
| 79 |
"processing any files. B<bc> starts by processing code from all the files " |
| 80 |
"listed on the command line in the order listed. After all files have been " |
| 81 |
"processed, B<bc> reads from the standard input. All code is executed as it " |
| 82 |
"is read. (If a file contains a command to halt the processor, B<bc> will " |
| 83 |
"never read from the standard input.)" |
| 84 |
msgstr "" |
| 85 |
"B<bc> es un lenguaje que permite la ejecución interactiva de sentencias con " |
| 86 |
"precisión numérica arbitraria. La sintaxis es similar a la del lenguaje de " |
| 87 |
"programación C. Se puede disponer de una biblioteca matemática estándar a " |
| 88 |
"través de una opción en la línea de órdenes. En ese caso, la biblioteca " |
| 89 |
"matemática se determina antes de procesar ningún fichero. B<bc> comienza " |
| 90 |
"procesando en orden todos los ficheros dados en la línea de órdenes. Después " |
| 91 |
"de que todos los ficheros hayan sido procesados, B<bc> lee la entrada " |
| 92 |
"estándar. Todo el código es ejecutado tal y como es leído. (Si un fichero " |
| 93 |
"contiene una orden que detiene el procesador B<bc> nunca leerá la entrada " |
| 94 |
"estándar.)" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 98 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 99 |
msgid "" |
| 100 |
"This version of B<bc> contains several extensions beyond traditional B<bc> " |
| 101 |
"implementations and the POSIX draft standard. Command line options can " |
| 102 |
"cause these extensions to print a warning or to be rejected. This document " |
| 103 |
"describes the language accepted by this processor. Extensions will be " |
| 104 |
"identified as such." |
| 105 |
msgstr "" |
| 106 |
"Esta versión de B<bc> tiene varias ampliaciones adicionales a las " |
| 107 |
"tradicionales implementaciones de B<bc> y el estándar POSIX. Las opciones " |
| 108 |
"en la línea de órdenes pueden causar que estas extensiones impriman un aviso " |
| 109 |
"o sean rechazadas. Este documento describe el lenguaje aceptado por este " |
| 110 |
"procesador. Las ampliaciones serán identificadas como tales." |
| 111 |
|
| 112 |
#. type: SS |
| 113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 115 |
#, no-wrap |
| 116 |
msgid "OPTIONS" |
| 117 |
msgstr "OPCIONES" |
| 118 |
|
| 119 |
#. type: IP |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
#, no-wrap |
| 123 |
msgid "-h, --help" |
| 124 |
msgstr "-h, --help" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
#, fuzzy |
| 130 |
#| msgid "Display help text and exit." |
| 131 |
msgid "Print the usage and exit." |
| 132 |
msgstr "Mostrar texto de ayuda y finalizar." |
| 133 |
|
| 134 |
#. type: IP |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
#, no-wrap |
| 138 |
msgid "-i, --interactive" |
| 139 |
msgstr "-i, --interactive" |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
msgid "Force interactive mode." |
| 145 |
msgstr "" |
| 146 |
|
| 147 |
#. type: IP |
| 148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
#, no-wrap |
| 151 |
msgid "-l, --mathlib" |
| 152 |
msgstr "-l, --mathlib" |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
msgid "Define the standard math library." |
| 158 |
msgstr "Selecciona la biblioteca matemática estándar." |
| 159 |
|
| 160 |
#. type: IP |
| 161 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 162 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 163 |
#, no-wrap |
| 164 |
msgid "-w, --warn" |
| 165 |
msgstr "-w, --warn" |
| 166 |
|
| 167 |
#. type: Plain text |
| 168 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 169 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 170 |
msgid "Give warnings for extensions to POSIX B<bc>." |
| 171 |
msgstr "Da mensajes de advertencia ante las ampliaciones al B<bc> de POSIX." |
| 172 |
|
| 173 |
#. type: IP |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, no-wrap |
| 177 |
msgid "-s, --standard" |
| 178 |
msgstr "-s, --standard" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "Process exactly the POSIX B<bc> language." |
| 184 |
msgstr "Procesa exactamente como el lenguaje B<bc> de POSIX." |
| 185 |
|
| 186 |
#. type: IP |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
#, no-wrap |
| 190 |
msgid "-q, --quiet" |
| 191 |
msgstr "-q, --quiet" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "Do not print the normal GNU bc welcome." |
| 197 |
msgstr "No imprime el habitual mensaje de bienvenida del GNU bc." |
| 198 |
|
| 199 |
#. type: IP |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, no-wrap |
| 203 |
msgid "-v, --version" |
| 204 |
msgstr "-v, --version" |
| 205 |
|
| 206 |
#. type: Plain text |
| 207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 209 |
msgid "Print the version number and copyright and quit." |
| 210 |
msgstr "Imprime el número de versión el copyright y sale." |
| 211 |
|
| 212 |
#. type: SS |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
#, no-wrap |
| 216 |
msgid "NUMBERS" |
| 217 |
msgstr "NÚMEROS" |
| 218 |
|
| 219 |
#. type: Plain text |
| 220 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 221 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 222 |
#, fuzzy |
| 223 |
#| msgid "" |
| 224 |
#| "The most basic element in B<bc> is the number. Numbers are arbitrary " |
| 225 |
#| "precision numbers. This precision is both in the integer part and the " |
| 226 |
#| "fractional part. All numbers are represented internally in decimal and " |
| 227 |
#| "all computation is done in decimal. (This version truncates results from " |
| 228 |
#| "divide and multiply operations.) There are two attributes of numbers, " |
| 229 |
#| "the length and the scale. The length is the total number of significant " |
| 230 |
#| "decimal digits in a number and the scale is the total number of decimal " |
| 231 |
#| "digits after the decimal point. For example:" |
| 232 |
msgid "" |
| 233 |
"The most basic element in B<bc> is the number. Numbers are arbitrary " |
| 234 |
"precision numbers. This precision is both in the integer part and the " |
| 235 |
"fractional part. All numbers are represented internally in decimal and all " |
| 236 |
"computation is done in decimal. (This version truncates results from divide " |
| 237 |
"and multiply operations.) There are two attributes of numbers, the length " |
| 238 |
"and the scale. The length is the total number of decimal digits used by " |
| 239 |
"B<bc> to represent a number and the scale is the total number of decimal " |
| 240 |
"digits after the decimal point. For example:" |
| 241 |
msgstr "" |
| 242 |
"El elemento más básico en B<bc> es el número. Los números son de precisión " |
| 243 |
"arbitraria, tanto en la parte entera como en la fraccionaria. Todos los " |
| 244 |
"números son representados internamente en decimal y toda la computación es " |
| 245 |
"hecha en decimal. (Esta versión trunca los resultados de las operaciones " |
| 246 |
"división y multiplicación). Los números tienen dos atributos, la longitud y " |
| 247 |
"la escala. La longitud es el número total de dígitos decimales " |
| 248 |
"significativas y la escala el número de dígitos decimales tras la coma " |
| 249 |
"decimal. Por ejemplo:" |
| 250 |
|
| 251 |
#. type: Plain text |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
#, no-wrap |
| 255 |
msgid "" |
| 256 |
" .000001 has a length of 6 and scale of 6.\n" |
| 257 |
" 1935.000 has a length of 7 and a scale of 3.\n" |
| 258 |
msgstr "" |
| 259 |
" .000001 tiene longitud 6 y escala 6.\n" |
| 260 |
" 1935.000 tiene longitud 7 y escala 3.\n" |
| 261 |
|
| 262 |
#. type: SS |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "VARIABLES" |
| 267 |
msgstr "VARIABLES" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 271 |
#, fuzzy |
| 272 |
#| msgid "" |
| 273 |
#| "Numbers are stored in two types of variables, simple variables and " |
| 274 |
#| "arrays. Both simple variables and array variables are named. Names " |
| 275 |
#| "begin with a letter followed by any number of letters, digits and " |
| 276 |
#| "underscores. All letters must be lower case. (Full alpha-numeric names " |
| 277 |
#| "are an extension. In POSIX B<bc> all names are a single lower case " |
| 278 |
#| "letter.) The type of variable is clear by the context because all array " |
| 279 |
#| "variable names will be followed by brackets ([])." |
| 280 |
msgid "" |
| 281 |
"Numbers are stored in two types of variables, simple variables and arrays. " |
| 282 |
"Both simple variables and array variables are named. Names begin with a " |
| 283 |
"letter followed by any number of letters, digits and underscores. All " |
| 284 |
"letters must be lower case. (Full alphanumeric names are an extension. In " |
| 285 |
"POSIX B<bc> all names are a single lower case letter.) The type of variable " |
| 286 |
"is clear by the context because all array variable names will be followed by " |
| 287 |
"brackets ([])." |
| 288 |
msgstr "" |
| 289 |
"Los números son almacenados en dos tipos de variables, variables simples y " |
| 290 |
"matrices. Ambos tipos son designados por nombres. Estos nombres comienzan " |
| 291 |
"con una letra, seguida por cualquier número de letras, dígitos y caracteres " |
| 292 |
"de subrayado. Todas las letras deben ir en minúsculas. (Estos nombres " |
| 293 |
"alfanuméricos son una ampliación. En el B<bc> de POSIX todos los nombres son " |
| 294 |
"una sola letra minúscula). El tipo de variable queda claro según el " |
| 295 |
"contexto ya que a todas las variables de tipo matriz les sigue unos " |
| 296 |
"corchetes ([])." |
| 297 |
|
| 298 |
#. type: Plain text |
| 299 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 300 |
#: opensuse-tumbleweed |
| 301 |
msgid "" |
| 302 |
"There are four special variables, B<scale, ibase, obase,> and B<last>. " |
| 303 |
"B<scale> defines how some operations use digits after the decimal point. " |
| 304 |
"The default value of B<scale> is 0. B<ibase> and B<obase> define the " |
| 305 |
"conversion base for input and output numbers. The default for both input " |
| 306 |
"and output is base 10. B<last> (an extension) is a variable that has the " |
| 307 |
"value of the last printed number. These will be discussed in further detail " |
| 308 |
"where appropriate. All of these variables may have values assigned to them " |
| 309 |
"as well as used in expressions." |
| 310 |
msgstr "" |
| 311 |
"Hay cuatro variables especiales, B<scale>, B<ibase>, B<obase> y B<last>. " |
| 312 |
"B<scale> define como son tratadas los dígitos tras la coma decimal en " |
| 313 |
"algunas operaciones. El valor por defecto de B<scale> es 0. B<ibase> y " |
| 314 |
"B<obase> definen la base numérica de conversión para la entrada y la salida. " |
| 315 |
"El valor por defecto para ambos es la base 10. B<last> (una ampliación) es " |
| 316 |
"la variable en la que se guardar el último número mostrado. Todo esto será " |
| 317 |
"tratado en detalle cuando proceda. Todas estas variables pueden tener un " |
| 318 |
"valor asignado así como ser usadas en expresiones." |
| 319 |
|
| 320 |
#. type: SS |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
#, no-wrap |
| 324 |
msgid "COMMENTS" |
| 325 |
msgstr "COMENTARIOS" |
| 326 |
|
| 327 |
#. type: Plain text |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
msgid "" |
| 331 |
"Comments in B<bc> start with the characters B</*> and end with the " |
| 332 |
"characters B<*/>. Comments may start anywhere and appear as a single space " |
| 333 |
"in the input. (This causes comments to delimit other input items. For " |
| 334 |
"example, a comment can not be found in the middle of a variable name.) " |
| 335 |
"Comments include any newlines (end of line) between the start and the end of " |
| 336 |
"the comment." |
| 337 |
msgstr "" |
| 338 |
"Los comentarios en B<bc> comienzan con los caracteres B</*> y finalizan con " |
| 339 |
"los caracteres B<*/>. Los comentarios pueden empezar en cualquier lugar y " |
| 340 |
"aparecen como un solo espacio en la entrada. (Esto hace que delimiten otros " |
| 341 |
"elementos de entrada. Por ejemplo, un comentario no puede encontrarse en " |
| 342 |
"medio del nombre de una variable). Los comentarios pueden incluir saltos de " |
| 343 |
"línea." |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
msgid "" |
| 349 |
"To support the use of scripts for B<bc>, a single line comment has been " |
| 350 |
"added as an extension. A single line comment starts at a B<#> character and " |
| 351 |
"continues to the next end of the line. The end of line character is not " |
| 352 |
"part of the comment and is processed normally." |
| 353 |
msgstr "" |
| 354 |
"Para poder usar macros (scripts) en B<bc>, la posibilidad de incluir " |
| 355 |
"comentarios de una sola línea ha sido añadida como ampliación. Estos " |
| 356 |
"comienzan con el carácter B<#> y continúan hasta el final de la línea. El " |
| 357 |
"final de línea no es parte del comentario y es procesado de forma normal." |
| 358 |
|
| 359 |
#. type: SS |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
#, no-wrap |
| 363 |
msgid "EXPRESSIONS" |
| 364 |
msgstr "EXPRESIONES" |
| 365 |
|
| 366 |
#. type: Plain text |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
msgid "" |
| 370 |
"The numbers are manipulated by expressions and statements. Since the " |
| 371 |
"language was designed to be interactive, statements and expressions are " |
| 372 |
"executed as soon as possible. There is no \"main\" program. Instead, code " |
| 373 |
"is executed as it is encountered. (Functions, discussed in detail later, " |
| 374 |
"are defined when encountered.)" |
| 375 |
msgstr "" |
| 376 |
"Los números son manipulados por las expresiones y las sentencias. Como el " |
| 377 |
"lenguaje fue diseñado para ser interactivo, las sentencias y expresiones son " |
| 378 |
"ejecutadas tan pronto como es posible. No hay programa principal (\"main\"). " |
| 379 |
"En su lugar, el código es ejecutado tal y como se encuentra. (Las funciones, " |
| 380 |
"tratadas en detalle más abajo, se definen cuando se encuentran)." |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 384 |
#, fuzzy |
| 385 |
#| msgid "" |
| 386 |
#| "A simple expression is just a constant. B<bc> converts constants into " |
| 387 |
#| "internal decimal numbers using the current input base, specified by the " |
| 388 |
#| "variable B<ibase>. (There is an exception in functions.) The legal " |
| 389 |
#| "values of B<ibase> are 2 through 16. Assigning a value outside this " |
| 390 |
#| "range to B<ibase> will result in a value of 2 or 16. Input numbers may " |
| 391 |
#| "contain the characters 0-9 and A-F. (Note: They must be capitals. Lower " |
| 392 |
#| "case letters are variable names.) Single digit numbers always have the " |
| 393 |
#| "value of the digit regardless of the value of B<ibase>. (i.e. A = 10.) " |
| 394 |
#| "For multi-digit numbers, B<bc> changes all input digits greater or equal " |
| 395 |
#| "to ibase to the value of B<ibase>-1. This makes the number B<FFF> always " |
| 396 |
#| "be the largest 3 digit number of the input base." |
| 397 |
msgid "" |
| 398 |
"A simple expression is just a constant. B<bc> converts constants into " |
| 399 |
"internal decimal numbers using the current input base, specified by the " |
| 400 |
"variable B<ibase>. (There is an exception in functions.) The valid values " |
| 401 |
"for B<ibase> are 2 through 36. (Bases greater than 16 are an extension.) " |
| 402 |
"Assigning a value outside this range to B<ibase> will result in a value of 2 " |
| 403 |
"or 36. Input numbers may contain the characters 0\\(en9 and A\\(enZ. " |
| 404 |
"(Note: They must be capitals. Lower case letters are variable names.) " |
| 405 |
"Single digit numbers always have the value of the digit regardless of the " |
| 406 |
"value of B<ibase>. (i.e.\\& A = 10.) For multi-digit numbers, B<bc> changes " |
| 407 |
"all input digits greater or equal to ibase to the value of B<ibase>-1. This " |
| 408 |
"makes the number B<ZZZ> always be the largest 3 digit number of the input " |
| 409 |
"base." |
| 410 |
msgstr "" |
| 411 |
"Una constante es la expresión más simple. B<bc> convierte internamente las " |
| 412 |
"constantes en números decimales usando la base de entrada activa, " |
| 413 |
"especificada por la variable B<ibase>. (Hay una excepción en las funciones). " |
| 414 |
"Los valores permitidos para B<ibase> van del 2 hasta el 16. Si se asigna un " |
| 415 |
"valor a B<ibase> fuera de este rango se cambiará por 2 ó 16. Los números en " |
| 416 |
"la entrada pueden formarse con los caracteres 0-9 y A-F. (Nota: Deben ir en " |
| 417 |
"mayúsculas. Las minúsculas son nombres de variables). Los números de un solo " |
| 418 |
"dígito tienen siempre el valor del dígito, sea cual sea el valor de " |
| 419 |
"B<ibase>. (ej. A = 10.). En los números de más de un dígito B<bc> cambia " |
| 420 |
"todos los dígitos mayores o iguales a ibase al valor de B<ibase>-1. Esto " |
| 421 |
"hace que el número B<FFF> sea siempre el mayor número de 3 dígitos de la " |
| 422 |
"base de entrada." |
| 423 |
|
| 424 |
#. type: Plain text |
| 425 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 426 |
#, fuzzy |
| 427 |
#| msgid "" |
| 428 |
#| "Full expressions are similar to many other high level languages. Since " |
| 429 |
#| "there is only one kind of number, there are no rules for mixing types. " |
| 430 |
#| "Instead, there are rules on the scale of expressions. Every expression " |
| 431 |
#| "has a scale. This is derived from the scale of original numbers, the " |
| 432 |
#| "operation performed and in many cases, the value of the variable " |
| 433 |
#| "B<scale>. Legal values of the variable B<scale> are 0 to the maximum " |
| 434 |
#| "number representable by a C integer." |
| 435 |
msgid "" |
| 436 |
"Full expressions are similar to many other high level languages. Since " |
| 437 |
"there is only one kind of number, there are no rules for mixing types. " |
| 438 |
"Instead, there are rules on the scale of expressions. Every expression has " |
| 439 |
"a scale. This is derived from the scale of original numbers, the operation " |
| 440 |
"performed and in many cases, the value of the variable B<scale>. Valid " |
| 441 |
"values of the variable B<scale> are 0 to the maximum number representable by " |
| 442 |
"a C integer." |
| 443 |
msgstr "" |
| 444 |
"Las expresiones más complejas son similares a muchos otros lenguajes de alto " |
| 445 |
"nivel. Como solo hay un tipo de número, no hay reglas para mezclar tipos. En " |
| 446 |
"cambio, hay reglas para la escala de las expresiones. Cada expresión tiene " |
| 447 |
"una escala. Esta es derivada de la escala de los números originales, la " |
| 448 |
"operación realizada y, en muchos casos, el valor de la variable B<scale>. " |
| 449 |
"Los valores permitidos para B<scale> son desde 0 hasta el máximo número " |
| 450 |
"representable por un entero en C." |
| 451 |
|
| 452 |
#. type: Plain text |
| 453 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 454 |
#, fuzzy |
| 455 |
#| msgid "" |
| 456 |
#| "In the following descriptions of legal expressions, \"expr\" refers to a " |
| 457 |
#| "complete expression and \"var\" refers to a simple or an array variable. " |
| 458 |
#| "A simple variable is just a" |
| 459 |
msgid "" |
| 460 |
"In the following descriptions of valid expressions, \"expr\" refers to a " |
| 461 |
"complete expression and \"var\" refers to a simple or an array variable. A " |
| 462 |
"simple variable is just a" |
| 463 |
msgstr "" |
| 464 |
"En las siguientes descripciones de expresiones permitidas, \"expr\" se usa " |
| 465 |
"para indicar un expresión completa y \"var\" una variable, simple o " |
| 466 |
"matricial. Una variable simple es, simplemente" |
| 467 |
|
| 468 |
#. type: Plain text |
| 469 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 470 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 471 |
msgid "I<name>" |
| 472 |
msgstr "I<nombre>" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
msgid "and an array variable is specified as" |
| 478 |
msgstr "y una matriz se designa así" |
| 479 |
|
| 480 |
#. #-#-#-#-# archlinux: bc.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 481 |
#. type: Plain text |
| 482 |
#. #-#-#-#-# debian-trixie: bc.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 483 |
#. \fIname\fR[\fIexpr\fR] |
| 484 |
#. type: Plain text |
| 485 |
#. #-#-#-#-# debian-unstable: bc.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 486 |
#. \fIname\fR[\fIexpr\fR] |
| 487 |
#. type: Plain text |
| 488 |
#. #-#-#-#-# fedora-44: bc.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 489 |
#. type: Plain text |
| 490 |
#. #-#-#-#-# fedora-rawhide: bc.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 491 |
#. type: Plain text |
| 492 |
#. #-#-#-#-# mageia-cauldron: bc.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 493 |
#. type: Plain text |
| 494 |
#. #-#-#-#-# opensuse-leap-16-1: bc.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 495 |
#. type: Plain text |
| 496 |
#. #-#-#-#-# opensuse-tumbleweed: bc.1.pot (PACKAGE VERSION) #-#-#-#-# |
| 497 |
#. type: Plain text |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
msgid "I<name>[I<expr>]" |
| 501 |
msgstr "I<nombre>[I<expr>]" |
| 502 |
|
| 503 |
#. type: Plain text |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
msgid "" |
| 507 |
"Unless specifically mentioned the scale of the result is the maximum scale " |
| 508 |
"of the expressions involved." |
| 509 |
msgstr "" |
| 510 |
"Si no se especifica la escala del resultado, esta será la máxima escala de " |
| 511 |
"las expresiones implicadas." |
| 512 |
|
| 513 |
#. type: IP |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
#, no-wrap |
| 517 |
msgid "- expr" |
| 518 |
msgstr "- expr" |
| 519 |
|
| 520 |
#. type: Plain text |
| 521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 523 |
msgid "The result is the negation of the expression." |
| 524 |
msgstr "El resultado es la expresión negada." |
| 525 |
|
| 526 |
#. type: IP |
| 527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 529 |
#, no-wrap |
| 530 |
msgid "++ var" |
| 531 |
msgstr "++ var" |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
msgid "" |
| 537 |
"The variable is incremented by one and the new value is the result of the " |
| 538 |
"expression." |
| 539 |
msgstr "" |
| 540 |
"La variable es incrementada en uno y el nuevo valor es el resultado de la " |
| 541 |
"expresión." |
| 542 |
|
| 543 |
#. type: IP |
| 544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 546 |
#, no-wrap |
| 547 |
msgid "-- var" |
| 548 |
msgstr "-- var" |
| 549 |
|
| 550 |
#. type: Plain text |
| 551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 553 |
msgid "" |
| 554 |
"The variable is decremented by one and the new value is the result of the " |
| 555 |
"expression." |
| 556 |
msgstr "" |
| 557 |
"La variable es decrementada en uno y el nuevo valor es el resultado de la " |
| 558 |
"expresión." |
| 559 |
|
| 560 |
#. type: IP |
| 561 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 562 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 563 |
#, no-wrap |
| 564 |
msgid "var ++" |
| 565 |
msgstr "var ++" |
| 566 |
|
| 567 |
#. type: Plain text |
| 568 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 569 |
#, fuzzy |
| 570 |
#| msgid "" |
| 571 |
#| " The result of the expression is the value of\n" |
| 572 |
#| "the variable and then the variable is incremented by one.\n" |
| 573 |
msgid "" |
| 574 |
"The result of the expression is the value of the variable and then the " |
| 575 |
"variable is incremented by one." |
| 576 |
msgstr "" |
| 577 |
"El resultado de la expresión es el valor de la variable y entonces la " |
| 578 |
"variable es incrementada en uno.\n" |
| 579 |
|
| 580 |
#. type: IP |
| 581 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 582 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 583 |
#, no-wrap |
| 584 |
msgid "var --" |
| 585 |
msgstr "var --" |
| 586 |
|
| 587 |
#. type: Plain text |
| 588 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 589 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 590 |
msgid "" |
| 591 |
"The result of the expression is the value of the variable and then the " |
| 592 |
"variable is decremented by one." |
| 593 |
msgstr "" |
| 594 |
"El resultado de la expresión es el valor de la variable y entonces la " |
| 595 |
"variable es decrementada en uno." |
| 596 |
|
| 597 |
#. type: IP |
| 598 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 599 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 600 |
#, no-wrap |
| 601 |
msgid "expr + expr" |
| 602 |
msgstr "expr + expr" |
| 603 |
|
| 604 |
#. type: Plain text |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
msgid "The result of the expression is the sum of the two expressions." |
| 608 |
msgstr "El resultado de la expresión es la suma de las dos expresiones." |
| 609 |
|
| 610 |
#. type: IP |
| 611 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 612 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 613 |
#, no-wrap |
| 614 |
msgid "expr - expr" |
| 615 |
msgstr "expr - expr" |
| 616 |
|
| 617 |
#. type: Plain text |
| 618 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 619 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 620 |
msgid "The result of the expression is the difference of the two expressions." |
| 621 |
msgstr "El resultado de la expresión es la diferencia de las dos expresiones." |
| 622 |
|
| 623 |
#. type: IP |
| 624 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 625 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 626 |
#, no-wrap |
| 627 |
msgid "expr * expr" |
| 628 |
msgstr "expr * expr" |
| 629 |
|
| 630 |
#. type: Plain text |
| 631 |
#: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 632 |
#: opensuse-tumbleweed |
| 633 |
msgid "The result of the expression is the product of the two expressions." |
| 634 |
msgstr "El resultado de la expresión es el producto de las dos expresiones." |
| 635 |
|
| 636 |
#. type: IP |
| 637 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 638 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 639 |
#, no-wrap |
| 640 |
msgid "expr / expr" |
| 641 |
msgstr "expr / expr" |
| 642 |
|
| 643 |
#. type: Plain text |
| 644 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 645 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 646 |
msgid "" |
| 647 |
"The result of the expression is the quotient of the two expressions. The " |
| 648 |
"scale of the result is the value of the variable B<scale>." |
| 649 |
msgstr "" |
| 650 |
"El resultado de la expresión es el cociente de las dos expresiones. La " |
| 651 |
"escala del resultado es el valor de la variable B<scale>." |
| 652 |
|
| 653 |
#. type: IP |
| 654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 656 |
#, no-wrap |
| 657 |
msgid "expr % expr" |
| 658 |
msgstr "expr % expr" |
| 659 |
|
| 660 |
#. type: Plain text |
| 661 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 662 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 663 |
msgid "" |
| 664 |
"The result of the expression is the \"remainder\" and it is computed in the " |
| 665 |
"following way. To compute a%b, first a/b is computed to B<scale> digits. " |
| 666 |
"That result is used to compute a-(a/b)*b to the scale of the maximum of " |
| 667 |
"B<scale>+scale(b) and scale(a). If B<scale> is set to zero and both " |
| 668 |
"expressions are integers this expression is the integer remainder function." |
| 669 |
msgstr "" |
| 670 |
"El resultado de la expresión es el \"resto\" y se calcula de la siguiente " |
| 671 |
"manera. Para calcular a%b, primero se calcula a/b en B<scale> dígitos. Este " |
| 672 |
"resultado es usado para calcular a-(a/b)*b a la escala que resulte mayor, " |
| 673 |
"B<scale>+scale(b) ó scale(a). Si B<scale> vale cero y ambas expresiones son " |
| 674 |
"enteros esta expresión calcula el resto entero." |
| 675 |
|
| 676 |
#. type: IP |
| 677 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 678 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 679 |
#, no-wrap |
| 680 |
msgid "expr ^ expr" |
| 681 |
msgstr "expr ^ expr" |
| 682 |
|
| 683 |
#. type: Plain text |
| 684 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 685 |
#, fuzzy |
| 686 |
#| msgid "" |
| 687 |
#| "The result of the expression is the value of the first raised to the " |
| 688 |
#| "second. The second expression must be an integer. (If the second " |
| 689 |
#| "expression is not an integer, a warning is generated and the expression " |
| 690 |
#| "is truncated to get an integer value.) The scale of the result is " |
| 691 |
#| "B<scale> if the exponent is negative. If the exponent is positive the " |
| 692 |
#| "scale of the result is the minimum of the scale of the first expression " |
| 693 |
#| "times the value of the exponent and the maximum of B<scale> and the scale " |
| 694 |
#| "of the first expression. (e.g.\\& scale(a^b) = min(scale(a)*b, " |
| 695 |
#| "max( B<scale,> scale(a))).) It should be noted that expr^0 will always " |
| 696 |
#| "return the value of 1." |
| 697 |
msgid "" |
| 698 |
"The result of the expression is the value of the first raised to the second. " |
| 699 |
"The second expression must be an integer. (If the second expression is not " |
| 700 |
"an integer, a warning is generated and the expression is truncated to get an " |
| 701 |
"integer value.) The scale of the result is B<scale> if the exponent is " |
| 702 |
"negative. If the exponent is positive the scale of the result is the " |
| 703 |
"minimum of the scale of the first expression times the value of the exponent " |
| 704 |
"and the maximum of B<scale> and the scale of the first expression. (e.g.\\& " |
| 705 |
"scale(a^b) = min(scale(a)*b, max( B<scale,> scale(a))).) It should be " |
| 706 |
"noted that expr^0 will always return the value of 1." |
| 707 |
msgstr "" |
| 708 |
"El resultado de la expresión es el valor de la primera elevada a la segunda. " |
| 709 |
"La segunda expresión debe ser un entero. (Si la segunda expresión no es un " |
| 710 |
"entero, se genera un mensaje de advertencia y la expresión es truncada a un " |
| 711 |
"valor entero). La escala del resultado es B<scale> si el exponente es " |
| 712 |
"negativo. Si el exponente es positivo la escala del resultado es el mínimo " |
| 713 |
"de estos valores: la escala de la base por el exponente o el máximo de " |
| 714 |
"B<scale> y la escala de la base. (ej.\\& scale(a^b) = min(scale(a)*b, " |
| 715 |
"max( B<scale>, scale(a))).). Hay que tener en cuenta que el resultado de " |
| 716 |
"expr^0 siempre será 1." |
| 717 |
|
| 718 |
#. type: IP |
| 719 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 720 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 721 |
#, no-wrap |
| 722 |
msgid "( expr )" |
| 723 |
msgstr "( expr )" |
| 724 |
|
| 725 |
#. type: Plain text |
| 726 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 727 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 728 |
msgid "" |
| 729 |
"This alters the standard precedence to force the evaluation of the " |
| 730 |
"expression." |
| 731 |
msgstr "" |
| 732 |
"Altera la precedencia estándar para forzar la evaluación de la expresión." |
| 733 |
|
| 734 |
#. type: IP |
| 735 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 736 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 737 |
#, no-wrap |
| 738 |
msgid "var = expr" |
| 739 |
msgstr "var = expr" |
| 740 |
|
| 741 |
#. type: Plain text |
| 742 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 743 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 744 |
msgid "The variable is assigned the value of the expression." |
| 745 |
msgstr "Se asigna a la variable el valor de la expresión." |
| 746 |
|
| 747 |
#. type: IP |
| 748 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 749 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 750 |
#, no-wrap |
| 751 |
msgid "var E<lt>opE<gt>= expr" |
| 752 |
msgstr "var E<lt>opE<gt>= expr" |
| 753 |
|
| 754 |
#. type: Plain text |
| 755 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 756 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 757 |
msgid "" |
| 758 |
"This is equivalent to \"var = var E<lt>opE<gt> expr\" with the exception " |
| 759 |
"that the \"var\" part is evaluated only once. This can make a difference if " |
| 760 |
"\"var\" is an array." |
| 761 |
msgstr "" |
| 762 |
"Es equivalente a \"var = var E<lt>opE<gt> expr\" con la excepción de que " |
| 763 |
"\"var\" solo es evaluada una vez. Esto puede afectar si \"var\" es una " |
| 764 |
"matriz." |
| 765 |
|
| 766 |
#. type: Plain text |
| 767 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 768 |
#, fuzzy |
| 769 |
#| msgid "" |
| 770 |
#| "Relational expressions are a special kind of expression that always " |
| 771 |
#| "evaluate to 0 or 1, 0 if the relation is false and 1 if the relation is " |
| 772 |
#| "true. These may appear in any legal expression. (POSIX bc requires that " |
| 773 |
#| "relational expressions are used only in if, while, and for statements and " |
| 774 |
#| "that only one relational test may be done in them.) The relational " |
| 775 |
#| "operators are" |
| 776 |
msgid "" |
| 777 |
"Relational expressions are a special kind of expression that always evaluate " |
| 778 |
"to 0 or 1, 0 if the relation is false and 1 if the relation is true. These " |
| 779 |
"may appear in any valid expression. (POSIX bc requires that relational " |
| 780 |
"expressions are used only in if, while, and for statements and that only one " |
| 781 |
"relational test may be done in them.) The relational operators are" |
| 782 |
msgstr "" |
| 783 |
"Las expresiones relacionales son de un tipo especial que siempre se evalúan " |
| 784 |
"a 0 ó 1, 0 si la relación es falsa y 1 si la relación es verdadera. Pueden " |
| 785 |
"aparecer en cualquier expresión permitida. (El B<bc> de POSIX solo permite " |
| 786 |
"el uso de expresiones relacionales en las sentencias if, while y for y solo " |
| 787 |
"una expresión relacional en cada una de ellas). Los operadores relacionales " |
| 788 |
"son:" |
| 789 |
|
| 790 |
#. type: IP |
| 791 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 792 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 793 |
#, no-wrap |
| 794 |
msgid "expr1 E<lt> expr2" |
| 795 |
msgstr "expr1 E<lt> expr2" |
| 796 |
|
| 797 |
#. type: Plain text |
| 798 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 799 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 800 |
msgid "The result is 1 if expr1 is strictly less than expr2." |
| 801 |
msgstr "El resultado es 1 si expr1 es estrictamente menor que expr2." |
| 802 |
|
| 803 |
#. type: IP |
| 804 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 805 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 806 |
#, no-wrap |
| 807 |
msgid "expr1 E<lt>= expr2" |
| 808 |
msgstr "expr1 E<lt>= expr2" |
| 809 |
|
| 810 |
#. type: Plain text |
| 811 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 812 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 813 |
msgid "The result is 1 if expr1 is less than or equal to expr2." |
| 814 |
msgstr "El resultado es 1 si expr1 es menor o igual que expr2." |
| 815 |
|
| 816 |
#. type: IP |
| 817 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 818 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 819 |
#, no-wrap |
| 820 |
msgid "expr1 E<gt> expr2" |
| 821 |
msgstr "expr1 E<gt> expr2" |
| 822 |
|
| 823 |
#. type: Plain text |
| 824 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 825 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 826 |
msgid "The result is 1 if expr1 is strictly greater than expr2." |
| 827 |
msgstr "El resultado es 1 si expr1 es estrictamente mayor que expr2." |
| 828 |
|
| 829 |
#. type: IP |
| 830 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 831 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 832 |
#, no-wrap |
| 833 |
msgid "expr1 E<gt>= expr2" |
| 834 |
msgstr "expr1 E<gt>= expr2" |
| 835 |
|
| 836 |
#. type: Plain text |
| 837 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 838 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 839 |
msgid "The result is 1 if expr1 is greater than or equal to expr2." |
| 840 |
msgstr "El resultado es 1 si expr1 es mayor o igual que expr2." |
| 841 |
|
| 842 |
#. type: IP |
| 843 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 844 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 845 |
#, no-wrap |
| 846 |
msgid "expr1 == expr2" |
| 847 |
msgstr "expr1 == expr2" |
| 848 |
|
| 849 |
#. type: Plain text |
| 850 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 851 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 852 |
msgid "The result is 1 if expr1 is equal to expr2." |
| 853 |
msgstr "El resultado es 1 si expr1 es igual a expr2." |
| 854 |
|
| 855 |
#. type: IP |
| 856 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 857 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 858 |
#, no-wrap |
| 859 |
msgid "expr1 != expr2" |
| 860 |
msgstr "expr1 != expr2" |
| 861 |
|
| 862 |
#. type: Plain text |
| 863 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 864 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 865 |
msgid "The result is 1 if expr1 is not equal to expr2." |
| 866 |
msgstr "El resultado es 1 si expr1 no es igual a expr2." |
| 867 |
|
| 868 |
#. type: Plain text |
| 869 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 870 |
#, fuzzy |
| 871 |
#| msgid "" |
| 872 |
#| "Boolean operations are also legal. (POSIX B<bc> does NOT have boolean " |
| 873 |
#| "operations). The result of all boolean operations are 0 and 1 (for false " |
| 874 |
#| "and true) as in relational expressions. The boolean operators are:" |
| 875 |
msgid "" |
| 876 |
"Boolean operations are also valid. (POSIX B<bc> does NOT have boolean " |
| 877 |
"operations). The result of all boolean operations are 0 and 1 (for false and " |
| 878 |
"true) as in relational expressions. The boolean operators are:" |
| 879 |
msgstr "" |
| 880 |
"Las operaciones booleanas también están permitidas. (El B<bc> de POSIX NO " |
| 881 |
"tiene operaciones booleanas). El resultado de toda operación booleana es 0 ó " |
| 882 |
"1 (falso o verdadero) como en las expresiones relacionales. Los operadores " |
| 883 |
"booleanos son:" |
| 884 |
|
| 885 |
#. type: IP |
| 886 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 887 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 888 |
#, no-wrap |
| 889 |
msgid "!expr" |
| 890 |
msgstr "!expr" |
| 891 |
|
| 892 |
#. type: Plain text |
| 893 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 894 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 895 |
msgid "The result is 1 if expr is 0." |
| 896 |
msgstr "El resultado es 1 si expr es 0." |
| 897 |
|
| 898 |
#. type: IP |
| 899 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 900 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 901 |
#, no-wrap |
| 902 |
msgid "expr && expr" |
| 903 |
msgstr "expr && expr" |
| 904 |
|
| 905 |
#. type: Plain text |
| 906 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 907 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 908 |
msgid "The result is 1 if both expressions are non-zero." |
| 909 |
msgstr "El resultado es 1 si ambas expresiones son distintas de 0." |
| 910 |
|
| 911 |
#. type: IP |
| 912 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 913 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 914 |
#, no-wrap |
| 915 |
msgid "expr || expr" |
| 916 |
msgstr "expr || expr" |
| 917 |
|
| 918 |
#. type: Plain text |
| 919 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 920 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 921 |
msgid "The result is 1 if either expression is non-zero." |
| 922 |
msgstr "El resultado es 1 si alguna de las expresiones es distinta de 0." |
| 923 |
|
| 924 |
#. type: Plain text |
| 925 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 926 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 927 |
msgid "The expression precedence is as follows: (lowest to highest)" |
| 928 |
msgstr "La precedencia de las expresiones es la siguiente (de menor a mayor):" |
| 929 |
|
| 930 |
#. type: Plain text |
| 931 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 932 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 933 |
#, no-wrap |
| 934 |
msgid "" |
| 935 |
"|| operator, left associative\n" |
| 936 |
"&& operator, left associative\n" |
| 937 |
"! operator, nonassociative\n" |
| 938 |
"Relational operators, left associative\n" |
| 939 |
"Assignment operator, right associative\n" |
| 940 |
"+ and - operators, left associative\n" |
| 941 |
"*, / and % operators, left associative\n" |
| 942 |
"^ operator, right associative\n" |
| 943 |
"unary - operator, nonassociative\n" |
| 944 |
"++ and -- operators, nonassociative\n" |
| 945 |
msgstr "" |
| 946 |
"operador || , asociativo por la izquierda\n" |
| 947 |
"operador && , asociativo por la izquierda\n" |
| 948 |
"operador ! , no asociativo\n" |
| 949 |
"operadores relacionales, asociativos por la izquierda\n" |
| 950 |
"operador asignación, asociativo por la derecha\n" |
| 951 |
"operadores + y - , asociativos por la izquierda\n" |
| 952 |
"operadores *, / y % , asociativos por la izquierda\n" |
| 953 |
"operador ^ , asociativo por la derecha\n" |
| 954 |
"operador unario - , no asociativo\n" |
| 955 |
"operadores ++ y -- , no asociativo\n" |
| 956 |
|
| 957 |
#. type: Plain text |
| 958 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 959 |
#: opensuse-tumbleweed |
| 960 |
msgid "" |
| 961 |
"This precedence was chosen so that POSIX compliant B<bc> programs will run " |
| 962 |
"correctly. This will cause the use of the relational and logical operators " |
| 963 |
"to have some unusual behavior when used with assignment expressions. " |
| 964 |
"Consider the expression:" |
| 965 |
msgstr "" |
| 966 |
"Esta precedencia fue elegida para que los programas acordes con el B<bc> de " |
| 967 |
"POSIX funcionaran correctamente. Esto hará que el uso de operadores " |
| 968 |
"relacionales y lógicos tenga un comportamiento inusual cuando se usen con " |
| 969 |
"expresiones de asignación. Considere la expresión:" |
| 970 |
|
| 971 |
#. type: Plain text |
| 972 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 973 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 974 |
msgid "a = 3 E<lt> 5" |
| 975 |
msgstr "a = 3 E<lt> 5" |
| 976 |
|
| 977 |
#. type: Plain text |
| 978 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 979 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 980 |
msgid "" |
| 981 |
"Most C programmers would assume this would assign the result of \"3 E<lt> " |
| 982 |
"5\" (the value 1) to the variable \"a\". What this does in B<bc> is assign " |
| 983 |
"the value 3 to the variable \"a\" and then compare 3 to 5. It is best to " |
| 984 |
"use parenthesis when using relational and logical operators with the " |
| 985 |
"assignment operators." |
| 986 |
msgstr "" |
| 987 |
"La mayoría de los programadores de C asumirían que se asignaría el resultado " |
| 988 |
"de \"3 E<lt> 5\" (el valor 1) a la variable \"a\". Lo que ocurre en B<bc> es " |
| 989 |
"que se asigna el valor 3 a la variable \"a\" y entonces se compara 3 con 5. " |
| 990 |
"Es mejor usar paréntesis cuando se usan operadores relacionales y lógicos " |
| 991 |
"con operadores de asignación." |
| 992 |
|
| 993 |
#. type: Plain text |
| 994 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 995 |
#: opensuse-tumbleweed |
| 996 |
msgid "" |
| 997 |
"There are a few more special expressions that are provided in B<bc>. These " |
| 998 |
"have to do with user defined functions and standard functions. They all " |
| 999 |
"appear as \"I<name>B<(>I<parameters>B<)>\". See the section on functions " |
| 1000 |
"for user defined functions. The standard functions are:" |
| 1001 |
msgstr "" |
| 1002 |
"Hay algunas expresiones especiales más en B<bc>. Estas están relacionadas " |
| 1003 |
"con las funciones definidas por el usuario y las funciones estándar. Tienen " |
| 1004 |
"la forma \"I<nombre>B<(>I<parámetros>B<)>\". Las funciones definidas por el " |
| 1005 |
"usuario son tratadas en la sección FUNCIONES. Las funciones estándar son:" |
| 1006 |
|
| 1007 |
#. type: IP |
| 1008 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1009 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1010 |
#, no-wrap |
| 1011 |
msgid "length ( expression )" |
| 1012 |
msgstr "length ( expresión )" |
| 1013 |
|
| 1014 |
#. type: Plain text |
| 1015 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1016 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1017 |
msgid "" |
| 1018 |
"The value of the length function is the number of significant digits in the " |
| 1019 |
"expression." |
| 1020 |
msgstr "" |
| 1021 |
"EL valor de la función length es el número de dígitos significativos en la " |
| 1022 |
"expresión." |
| 1023 |
|
| 1024 |
#. type: IP |
| 1025 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1026 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1027 |
#, no-wrap |
| 1028 |
msgid "read ( )" |
| 1029 |
msgstr "read ( )" |
| 1030 |
|
| 1031 |
#. type: Plain text |
| 1032 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1033 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1034 |
msgid "" |
| 1035 |
"The read function (an extension) will read a number from the standard input, " |
| 1036 |
"regardless of where the function occurs. Beware, this can cause problems " |
| 1037 |
"with the mixing of data and program in the standard input. The best use for " |
| 1038 |
"this function is in a previously written program that needs input from the " |
| 1039 |
"user, but never allows program code to be input from the user. The value of " |
| 1040 |
"the read function is the number read from the standard input using the " |
| 1041 |
"current value of the variable B<ibase> for the conversion base." |
| 1042 |
msgstr "" |
| 1043 |
"La función read (una ampliación) leerá un número de la entrada estándar, " |
| 1044 |
"independientemente del lugar dónde aparezca la función. Tenga cuidado pues " |
| 1045 |
"esto puede causar problemas mezclando datos y programa en la entrada " |
| 1046 |
"estándar. El mejor uso de esta función es ponerla en un programa previamente " |
| 1047 |
"escrito que necesite la entrada del usuario, pero nunca permitiendo que el " |
| 1048 |
"usuario introduzca código de programa. El valor de la función read es el " |
| 1049 |
"número leído de la entrada estándar usando el valor de la variable B<ibase> " |
| 1050 |
"para la base de conversión." |
| 1051 |
|
| 1052 |
#. type: IP |
| 1053 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1054 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1055 |
#, no-wrap |
| 1056 |
msgid "scale ( expression )" |
| 1057 |
msgstr "scale ( expresión )" |
| 1058 |
|
| 1059 |
#. type: Plain text |
| 1060 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1061 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1062 |
msgid "" |
| 1063 |
"The value of the scale function is the number of digits after the decimal " |
| 1064 |
"point in the expression." |
| 1065 |
msgstr "" |
| 1066 |
"El valor de la función scale es el número de dígitos tras la coma decimal en " |
| 1067 |
"la expresión." |
| 1068 |
|
| 1069 |
#. type: IP |
| 1070 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1071 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1072 |
#, no-wrap |
| 1073 |
msgid "sqrt ( expression )" |
| 1074 |
msgstr "sqrt ( expresión )" |
| 1075 |
|
| 1076 |
#. type: Plain text |
| 1077 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1078 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1079 |
msgid "" |
| 1080 |
"The value of the sqrt function is the square root of the expression. If the " |
| 1081 |
"expression is negative, a run time error is generated." |
| 1082 |
msgstr "" |
| 1083 |
"El valor de la función sqrt es la raíz cuadrada de la expresión. Si la " |
| 1084 |
"expresión es negativa, se genera un error en tiempo de ejecución." |
| 1085 |
|
| 1086 |
#. type: SS |
| 1087 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1088 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1089 |
#, no-wrap |
| 1090 |
msgid "STATEMENTS" |
| 1091 |
msgstr "SENTENCIAS" |
| 1092 |
|
| 1093 |
#. type: Plain text |
| 1094 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1095 |
#, fuzzy |
| 1096 |
#| msgid "" |
| 1097 |
#| "Statements (as in most algebraic languages) provide the sequencing of " |
| 1098 |
#| "expression evaluation. In B<bc> statements are executed \"as soon as " |
| 1099 |
#| "possible.\" Execution happens when a newline in encountered and there is " |
| 1100 |
#| "one or more complete statements. Due to this immediate execution, " |
| 1101 |
#| "newlines are very important in B<bc>. In fact, both a semicolon and a " |
| 1102 |
#| "newline are used as statement separators. An improperly placed newline " |
| 1103 |
#| "will cause a syntax error. Because newlines are statement separators, it " |
| 1104 |
#| "is possible to hide a newline by using the backslash character. The " |
| 1105 |
#| "sequence \"\\eE<lt>nlE<gt>\", where E<lt>nlE<gt> is the newline appears " |
| 1106 |
#| "to B<bc> as whitespace instead of a newline. A statement list is a " |
| 1107 |
#| "series of statements separated by semicolons and newlines. The following " |
| 1108 |
#| "is a list of B<bc> statements and what they do: (Things enclosed in " |
| 1109 |
#| "brackets ([]) are optional parts of the statement.)" |
| 1110 |
msgid "" |
| 1111 |
"Statements (as in most algebraic languages) provide the sequencing of " |
| 1112 |
"expression evaluation. In B<bc> statements are executed \"as soon as " |
| 1113 |
"possible\". Execution happens when a newline in encountered and there is " |
| 1114 |
"one or more complete statements. Due to this immediate execution, newlines " |
| 1115 |
"are very important in B<bc>. In fact, both a semicolon and a newline are " |
| 1116 |
"used as statement separators. An improperly placed newline will cause a " |
| 1117 |
"syntax error. Because newlines are statement separators, it is possible to " |
| 1118 |
"hide a newline by using the backslash character. The sequence " |
| 1119 |
"\"\\eE<lt>nlE<gt>\", where E<lt>nlE<gt> is the newline appears to B<bc> as " |
| 1120 |
"whitespace instead of a newline. A statement list is a series of statements " |
| 1121 |
"separated by semicolons and newlines. The following is a list of B<bc> " |
| 1122 |
"statements and what they do: (Things enclosed in brackets ([]) are optional " |
| 1123 |
"parts of the statement.)" |
| 1124 |
msgstr "" |
| 1125 |
"Las sentencias (como en la mayoría de los lenguajes algebraicos) " |
| 1126 |
"proporcionan la secuencia de las evaluación de las expresiones. En B<bc> las " |
| 1127 |
"sentencias son ejecutadas \"tan pronto como es posible\". La ejecución " |
| 1128 |
"ocurre cuando se encuentra un cambio de línea y hay una o más sentencias " |
| 1129 |
"completas. Debido a esta ejecución inmediata, los cambios de línea son muy " |
| 1130 |
"importantes en B<bc>. En realidad, tanto el punto y coma como el cambio de " |
| 1131 |
"línea son usados como separadores de sentencias. Un cambio de línea en un " |
| 1132 |
"lugar inapropiado provocará un error de sintaxis. Es posible ocultar el que " |
| 1133 |
"un cambio de línea sea un separador de sentencias usando el carácter de " |
| 1134 |
"contra-barra. B<bc> toma la secuencia \"\\eE<lt>nlE<gt>\", donde " |
| 1135 |
"E<lt>nlE<gt> es el cambio de línea, como un espacio en blanco en lugar de " |
| 1136 |
"como un cambio de línea. Una lista de sentencias es una serie de sentencias " |
| 1137 |
"separadas por punto y coma y cambios de línea. Lo siguiente es un lista de " |
| 1138 |
"sentencias y la descripción de lo que realizan: (Las partes entre corchetes " |
| 1139 |
"de las sentencias son opcionales)." |
| 1140 |
|
| 1141 |
#. type: IP |
| 1142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1144 |
#, no-wrap |
| 1145 |
msgid "expression" |
| 1146 |
msgstr "expresión" |
| 1147 |
|
| 1148 |
#. type: Plain text |
| 1149 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1150 |
#, fuzzy |
| 1151 |
#| msgid "" |
| 1152 |
#| "This statement does one of two things. If the expression starts with " |
| 1153 |
#| "\"E<lt>variableE<gt> E<lt>assignmentE<gt> ...\", it is considered to be " |
| 1154 |
#| "an assignment statement. If the expression is not an assignment " |
| 1155 |
#| "statement, the expression is evaluated and printed to the output. After " |
| 1156 |
#| "the number is printed, a newline is printed. For example, \"a=1\" is an " |
| 1157 |
#| "assignment statement and \"(a=1)\" is an expression that has an embedded " |
| 1158 |
#| "assignment. All numbers that are printed are printed in the base " |
| 1159 |
#| "specified by the variable B<obase>. The legal values for B< obase> are 2 " |
| 1160 |
#| "through BC_BASE_MAX. (See the section LIMITS.) For bases 2 through 16, " |
| 1161 |
#| "the usual method of writing numbers is used. For bases greater than 16, " |
| 1162 |
#| "B<bc> uses a multi-character digit method of printing the numbers where " |
| 1163 |
#| "each higher base digit is printed as a base 10 number. The multi-" |
| 1164 |
#| "character digits are separated by spaces. Each digit contains the number " |
| 1165 |
#| "of characters required to represent the base ten value of \"obase-1\". " |
| 1166 |
#| "Since numbers are of arbitrary precision, some numbers may not be " |
| 1167 |
#| "printable on a single output line. These long numbers will be split " |
| 1168 |
#| "across lines using the \"\\e\" as the last character on a line. The " |
| 1169 |
#| "maximum number of characters printed per line is 70. Due to the " |
| 1170 |
#| "interactive nature of B<bc>, printing a number causes the side effect of " |
| 1171 |
#| "assigning the printed value to the special variable B<last>. This allows " |
| 1172 |
#| "the user to recover the last value printed without having to retype the " |
| 1173 |
#| "expression that printed the number. Assigning to B<last> is legal and " |
| 1174 |
#| "will overwrite the last printed value with the assigned value. The newly " |
| 1175 |
#| "assigned value will remain until the next number is printed or another " |
| 1176 |
#| "value is assigned to B<last>. (Some installations may allow the use of a " |
| 1177 |
#| "single period (.) which is not part of a number as a short hand notation " |
| 1178 |
#| "for for B<last>.)" |
| 1179 |
msgid "" |
| 1180 |
"This statement does one of two things. If the expression starts with " |
| 1181 |
"\"E<lt>variableE<gt> E<lt>assignmentE<gt> ...\", it is considered to be an " |
| 1182 |
"assignment statement. If the expression is not an assignment statement, the " |
| 1183 |
"expression is evaluated and printed to the output. After the number is " |
| 1184 |
"printed, a newline is printed. For example, \"a=1\" is an assignment " |
| 1185 |
"statement and \"(a=1)\" is an expression that has an embedded assignment. " |
| 1186 |
"All numbers that are printed are printed in the base specified by the " |
| 1187 |
"variable B<obase>. The valid values for B<obase> are 2 through " |
| 1188 |
"BC_BASE_MAX. (See the section LIMITS.) For bases 2 through 16, the usual " |
| 1189 |
"method of writing numbers is used. For bases greater than 16, B<bc> uses a " |
| 1190 |
"multi-character digit method of printing the numbers where each higher base " |
| 1191 |
"digit is printed as a base 10 number. The multi-character digits are " |
| 1192 |
"separated by spaces. Each digit contains the number of characters required " |
| 1193 |
"to represent the base ten value of \"obase-1\". Since numbers are of " |
| 1194 |
"arbitrary precision, some numbers may not be printable on a single output " |
| 1195 |
"line. These long numbers will be split across lines using the \"\\e\" as " |
| 1196 |
"the last character on a line. The maximum number of characters printed per " |
| 1197 |
"line is 70. Due to the interactive nature of B<bc>, printing a number " |
| 1198 |
"causes the side effect of assigning the printed value to the special " |
| 1199 |
"variable B<last>. This allows the user to recover the last value printed " |
| 1200 |
"without having to retype the expression that printed the number. Assigning " |
| 1201 |
"to B<last> is valid and will overwrite the last printed value with the " |
| 1202 |
"assigned value. The newly assigned value will remain until the next number " |
| 1203 |
"is printed or another value is assigned to B<last>. (Some installations may " |
| 1204 |
"allow the use of a single period (.) which is not part of a number as a " |
| 1205 |
"short hand notation for B<last>.)" |
| 1206 |
msgstr "" |
| 1207 |
"Esta sentencia hace una de estas dos cosas. Si la expresión comienza con " |
| 1208 |
"\"E<lt>variableE<gt> E<lt>asignaciónE<gt> ...\", es considerada como una " |
| 1209 |
"sentencia de asignación. Si no es una sentencia de asignación, la expresión " |
| 1210 |
"es evaluada e impresa en la salida. Tras el número viene un cambio de línea. " |
| 1211 |
"Por ejemplo, \"a=1\" es una sentencia de asignación y \"(a=1)\" es una " |
| 1212 |
"expresión que tiene una asignación incluida. Todos los números se imprimen " |
| 1213 |
"en la base especificada por la variable B<obase>. Los valores posibles para " |
| 1214 |
"B<obase> van desde 2 hasta BC_BASE_MAX. (Ver sección LÍMITES). Para las " |
| 1215 |
"bases comprendidas entre 2 y 16, se usa el método usual de impresión. Para " |
| 1216 |
"las bases mayores de 16, B<bc> usa un método de impresión en el que utiliza " |
| 1217 |
"dígitos multi-carácter para imprimir cada dígito mayor que la base como un " |
| 1218 |
"número en base 10. Los dígitos multi-carácter son separados por espacios. " |
| 1219 |
"Cada dígito emplea tantos caracteres como sean necesarios para representar " |
| 1220 |
"\"obase-1\" en base diez. Como los números son de precisión arbitraria, " |
| 1221 |
"puede que algunos números no se puedan imprimir en una sola línea. Estos " |
| 1222 |
"números grandes serán repartidos en varias líneas con el carácter \"\\e\" al " |
| 1223 |
"final de cada línea. El número máximo de caracteres que se imprimen por " |
| 1224 |
"línea es 70. Debido a la naturaleza interactiva de B<bc>, la impresión de un " |
| 1225 |
"número lleva consigo la asignación del valor impreso a la variable especial " |
| 1226 |
"B<last>. Esto permite al usuario utilizar el último valor impreso sin tener " |
| 1227 |
"que volver a teclear la expresión que causó su impresión. Está permitido " |
| 1228 |
"asignar valores a B<last> y esto sobreescribirá el último valor impreso con " |
| 1229 |
"el valor asignado. El nuevo valor permanecerá hasta que se imprima el " |
| 1230 |
"siguiente número o se le asigne otro valor a B<last>. (Algunas instalaciones " |
| 1231 |
"pueden permitir usar un punto (.) que no sea parte de un número como una " |
| 1232 |
"notación más corta para B<last>)." |
| 1233 |
|
| 1234 |
#. type: IP |
| 1235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1237 |
#, no-wrap |
| 1238 |
msgid "string" |
| 1239 |
msgstr "cadena" |
| 1240 |
|
| 1241 |
#. type: Plain text |
| 1242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1244 |
msgid "" |
| 1245 |
"The string is printed to the output. Strings start with a double quote " |
| 1246 |
"character and contain all characters until the next double quote character. " |
| 1247 |
"All characters are take literally, including any newline. No newline " |
| 1248 |
"character is printed after the string." |
| 1249 |
msgstr "" |
| 1250 |
"Se imprime la cadena en la salida. Las cadenas comienzan con una comilla " |
| 1251 |
"doble y contienen todos los caracteres hasta la siguiente comilla doble. " |
| 1252 |
"Todos los caracteres son tomados literalmente, incluidos los cambios de " |
| 1253 |
"línea. Tras la cadena no se cambia de línea." |
| 1254 |
|
| 1255 |
#. type: IP |
| 1256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1258 |
#, no-wrap |
| 1259 |
msgid "B<print> list" |
| 1260 |
msgstr "B<print> lista" |
| 1261 |
|
| 1262 |
#. type: Plain text |
| 1263 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1264 |
#: opensuse-tumbleweed |
| 1265 |
msgid "" |
| 1266 |
"The print statement (an extension) provides another method of output. The " |
| 1267 |
"\"list\" is a list of strings and expressions separated by commas. Each " |
| 1268 |
"string or expression is printed in the order of the list. No terminating " |
| 1269 |
"newline is printed. Expressions are evaluated and their value is printed " |
| 1270 |
"and assigned to the variable B<last>. Strings in the print statement are " |
| 1271 |
"printed to the output and may contain special characters. Special " |
| 1272 |
"characters start with the backslash character (\\e). The special characters " |
| 1273 |
"recognized by B<bc> are \"a\" (alert or bell), \"b\" (backspace), \"f\" " |
| 1274 |
"(form feed), \"n\" (newline), \"r\" (carriage return), \"q\" (double quote), " |
| 1275 |
"\"t\" (tab), and \"\\e\" (backslash). Any other character following the " |
| 1276 |
"backslash will be ignored." |
| 1277 |
msgstr "" |
| 1278 |
"La sentencia print (una ampliación) proporciona otro método de impresión. " |
| 1279 |
"La \"lista\" es una lista de cadenas y expresiones separadas por comas. La " |
| 1280 |
"lista se imprime en el orden en el que está. Tras la lista no se cambia de " |
| 1281 |
"línea. Las expresiones son evaluadas y sus valores impresos y asignados a la " |
| 1282 |
"variable B<last>. Las cadenas se imprimen en la salida y pueden contener " |
| 1283 |
"caracteres especiales. Los caracteres especiales comienzan con el carácter " |
| 1284 |
"de contra-barra (\\e). B<bc> reconoce los caracteres especiales \"a\" " |
| 1285 |
"(alerta o campana), \"b\" (borrar carácter (backspace)), \"f\" (salto de " |
| 1286 |
"línea), \"n\" (nueva línea), \"r\" (retorno de carro), \"q\" (comilla " |
| 1287 |
"doble), \"t\" (tabulador), y \"\\e\" (contra-barra). Cualquier otro carácter " |
| 1288 |
"que siga a una contra-barra será ignorado." |
| 1289 |
|
| 1290 |
#. type: IP |
| 1291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1293 |
#, no-wrap |
| 1294 |
msgid "{ statement_list }" |
| 1295 |
msgstr "{ lista_de_sentencias }" |
| 1296 |
|
| 1297 |
#. type: Plain text |
| 1298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1300 |
msgid "" |
| 1301 |
"This is the compound statement. It allows multiple statements to be grouped " |
| 1302 |
"together for execution." |
| 1303 |
msgstr "" |
| 1304 |
"Esta es la sentencia compuesta. Permite ejecutar varias sentencias agrupadas." |
| 1305 |
|
| 1306 |
#. type: IP |
| 1307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1309 |
#, no-wrap |
| 1310 |
msgid "B<if> ( expression ) statement1 [B<else> statement2]" |
| 1311 |
msgstr "B<if> ( expresión ) sentencia1 [B<else> sentencia2]" |
| 1312 |
|
| 1313 |
#. type: Plain text |
| 1314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1316 |
msgid "" |
| 1317 |
"The if statement evaluates the expression and executes statement1 or " |
| 1318 |
"statement2 depending on the value of the expression. If the expression is " |
| 1319 |
"non-zero, statement1 is executed. If statement2 is present and the value of " |
| 1320 |
"the expression is 0, then statement2 is executed. (The else clause is an " |
| 1321 |
"extension.)" |
| 1322 |
msgstr "" |
| 1323 |
"Esta sentencia evalúa la expresión y ejecuta la sentencia1 o la sentencia2 " |
| 1324 |
"dependiendo del valor de la expresión. Si el valor es distinto de 0, se " |
| 1325 |
"ejecuta la sentencia1. Si se da la sentencia2 y el valor de la expresión es " |
| 1326 |
"0, entonces se ejecuta la sentencia2. (La cláusula else es una ampliación)." |
| 1327 |
|
| 1328 |
#. type: IP |
| 1329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1331 |
#, no-wrap |
| 1332 |
msgid "B<while> ( expression ) statement" |
| 1333 |
msgstr "B<while> ( expresión ) sentencia" |
| 1334 |
|
| 1335 |
#. type: Plain text |
| 1336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1338 |
msgid "" |
| 1339 |
"The while statement will execute the statement while the expression is non-" |
| 1340 |
"zero. It evaluates the expression before each execution of the statement. " |
| 1341 |
"Termination of the loop is caused by a zero expression value or the " |
| 1342 |
"execution of a break statement." |
| 1343 |
msgstr "" |
| 1344 |
"Se ejecuta la sentencia mientras la expresión sea distinta de 0. Se evalúa " |
| 1345 |
"la expresión antes de cada ejecución de la sentencia. El bucle termina al " |
| 1346 |
"tomar la expresión el valor 0 o ante una sentencia break." |
| 1347 |
|
| 1348 |
#. type: IP |
| 1349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1351 |
#, no-wrap |
| 1352 |
msgid "B<for> ( [expression1] ; [expression2] ; [expression3] ) statement" |
| 1353 |
msgstr "B<for> ( [expresión1] ; [expresión2] ; [expresión3] ) sentencia" |
| 1354 |
|
| 1355 |
#. type: Plain text |
| 1356 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1357 |
#: opensuse-tumbleweed |
| 1358 |
msgid "" |
| 1359 |
"The for statement controls repeated execution of the statement. Expression1 " |
| 1360 |
"is evaluated before the loop. Expression2 is evaluated before each " |
| 1361 |
"execution of the statement. If it is non-zero, the statement is evaluated. " |
| 1362 |
"If it is zero, the loop is terminated. After each execution of the " |
| 1363 |
"statement, expression3 is evaluated before the reevaluation of expression2. " |
| 1364 |
"If expression1 or expression3 are missing, nothing is evaluated at the point " |
| 1365 |
"they would be evaluated. If expression2 is missing, it is the same as " |
| 1366 |
"substituting the value 1 for expression2. (The optional expressions are an " |
| 1367 |
"extension. POSIX B<bc> requires all three expressions.) The following is " |
| 1368 |
"equivalent code for the for statement:" |
| 1369 |
msgstr "" |
| 1370 |
"La sentencia for controla la ejecución repetitiva de la sentencia. La " |
| 1371 |
"expresión1 es evaluada antes del bucle. La expresión2 es evaluada antes de " |
| 1372 |
"cada ejecución de la sentencia. Si es 0, el bucle termina. Después de cada " |
| 1373 |
"ejecución de la sentencia, se evalúa la expresión3 antes de reevaluar la " |
| 1374 |
"expresión2. Si la expresión1 o la expresión3 no se dan, no se evalúa nada en " |
| 1375 |
"su lugar. Si la expresión2 no se da, es lo mismo que sustituirla por el " |
| 1376 |
"valor 1. (El que las expresiones sean opcionales es una ampliación. El B<bc> " |
| 1377 |
"de POSIX requiere las tres expresiones). Este es el código equivalente para " |
| 1378 |
"la sentencia for:" |
| 1379 |
|
| 1380 |
#. type: Plain text |
| 1381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1383 |
#, no-wrap |
| 1384 |
msgid "" |
| 1385 |
"expression1;\n" |
| 1386 |
"while (expression2) {\n" |
| 1387 |
" statement;\n" |
| 1388 |
" expression3;\n" |
| 1389 |
"}\n" |
| 1390 |
msgstr "" |
| 1391 |
"expresión1;\n" |
| 1392 |
"while (expresión2) {\n" |
| 1393 |
" sentencia;\n" |
| 1394 |
" expresión3;\n" |
| 1395 |
"}\n" |
| 1396 |
|
| 1397 |
#. type: IP |
| 1398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1400 |
#, no-wrap |
| 1401 |
msgid "B<break>" |
| 1402 |
msgstr "B<break>" |
| 1403 |
|
| 1404 |
#. type: Plain text |
| 1405 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1406 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1407 |
msgid "" |
| 1408 |
"This statement causes a forced exit of the most recent enclosing while " |
| 1409 |
"statement or for statement." |
| 1410 |
msgstr "" |
| 1411 |
"Esta sentencia fuerza la salida de la sentencia while o for más reciente." |
| 1412 |
|
| 1413 |
#. type: IP |
| 1414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1416 |
#, no-wrap |
| 1417 |
msgid "B<continue>" |
| 1418 |
msgstr "B<continue>" |
| 1419 |
|
| 1420 |
#. type: Plain text |
| 1421 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1422 |
#: opensuse-tumbleweed |
| 1423 |
msgid "" |
| 1424 |
"The continue statement (an extension) causes the most recent enclosing for " |
| 1425 |
"statement to start the next iteration." |
| 1426 |
msgstr "" |
| 1427 |
"La sentencia continue (una ampliación) provoca que la sentencia for más " |
| 1428 |
"reciente comience una nueva iteración." |
| 1429 |
|
| 1430 |
#. type: IP |
| 1431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1433 |
#, no-wrap |
| 1434 |
msgid "B<halt>" |
| 1435 |
msgstr "B<halt>" |
| 1436 |
|
| 1437 |
#. type: Plain text |
| 1438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1440 |
msgid "" |
| 1441 |
"The halt statement (an extension) is an executed statement that causes the " |
| 1442 |
"B<bc> processor to quit only when it is executed. For example, \"if (0 == " |
| 1443 |
"1) halt\" will not cause B<bc> to terminate because the halt is not executed." |
| 1444 |
msgstr "" |
| 1445 |
"La sentencia halt (una ampliación) provoca que el procesador B<bc> termine " |
| 1446 |
"solo cuando es ejecutada. Por ejemplo, \"if (0 == 1) halt\" no hará que " |
| 1447 |
"B<bc> termine porque no llega a ejecutarse la sentencia halt." |
| 1448 |
|
| 1449 |
#. type: IP |
| 1450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1452 |
#, no-wrap |
| 1453 |
msgid "B<return>" |
| 1454 |
msgstr "B<return>" |
| 1455 |
|
| 1456 |
#. type: Plain text |
| 1457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1459 |
msgid "Return the value 0 from a function. (See the section on functions.)" |
| 1460 |
msgstr "Devuelve el valor 0 desde una función. (Ver sección sobre funciones)." |
| 1461 |
|
| 1462 |
#. type: IP |
| 1463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1465 |
#, no-wrap |
| 1466 |
msgid "B<return> ( expression )" |
| 1467 |
msgstr "B<return> ( expresión )" |
| 1468 |
|
| 1469 |
#. type: Plain text |
| 1470 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1471 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1472 |
#, fuzzy |
| 1473 |
#| msgid "" |
| 1474 |
#| "Return the value of the expression from a function. (See the section on " |
| 1475 |
#| "functions.)" |
| 1476 |
msgid "" |
| 1477 |
"Return the value of the expression from a function. (See the section on " |
| 1478 |
"functions.) As an extension, the parenthesis are not required." |
| 1479 |
msgstr "" |
| 1480 |
"Devuelve el valor de la expresión desde una función. (Ver sección sobre " |
| 1481 |
"funciones)." |
| 1482 |
|
| 1483 |
#. type: SS |
| 1484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1486 |
#, no-wrap |
| 1487 |
msgid "PSEUDO STATEMENTS" |
| 1488 |
msgstr "PSEUDO SENTENCIAS" |
| 1489 |
|
| 1490 |
#. type: Plain text |
| 1491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1493 |
msgid "" |
| 1494 |
"These statements are not statements in the traditional sense. They are not " |
| 1495 |
"executed statements. Their function is performed at \"compile\" time." |
| 1496 |
msgstr "" |
| 1497 |
"Estas sentencias no son sentencias en el sentido tradicional. No son " |
| 1498 |
"sentencias que se ejecuten. Su función se realiza en \"tiempo de " |
| 1499 |
"compilación\"." |
| 1500 |
|
| 1501 |
#. type: IP |
| 1502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1504 |
#, no-wrap |
| 1505 |
msgid "B<limits>" |
| 1506 |
msgstr "B<limits>" |
| 1507 |
|
| 1508 |
#. type: Plain text |
| 1509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1511 |
msgid "" |
| 1512 |
"Print the local limits enforced by the local version of B<bc>. This is an " |
| 1513 |
"extension." |
| 1514 |
msgstr "" |
| 1515 |
"Imprime los límites locales forzados por la versión local de B<bc>. Esto es " |
| 1516 |
"una ampliación." |
| 1517 |
|
| 1518 |
#. type: IP |
| 1519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1521 |
#, no-wrap |
| 1522 |
msgid "B<quit>" |
| 1523 |
msgstr "B<quit>" |
| 1524 |
|
| 1525 |
#. type: Plain text |
| 1526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1528 |
msgid "" |
| 1529 |
"When the quit statement is read, the B<bc> processor is terminated, " |
| 1530 |
"regardless of where the quit statement is found. For example, \"if (0 == 1) " |
| 1531 |
"quit\" will cause B<bc> to terminate." |
| 1532 |
msgstr "" |
| 1533 |
"Cuando la sentencia quit se lee, el procesador B<bc> termina, cualquiera que " |
| 1534 |
"sea el lugar donde se encuentre la sentencia quit. Por ejemplo, \"if (0 == " |
| 1535 |
"1) quit\" hará que B<bc> termine." |
| 1536 |
|
| 1537 |
#. type: IP |
| 1538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1540 |
#, no-wrap |
| 1541 |
msgid "B<warranty>" |
| 1542 |
msgstr "B<warranty>" |
| 1543 |
|
| 1544 |
#. type: Plain text |
| 1545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1547 |
msgid "Print a longer warranty notice. This is an extension." |
| 1548 |
msgstr "Imprime un aviso largo sobre la garantía. Esto es una ampliación." |
| 1549 |
|
| 1550 |
#. type: SS |
| 1551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1553 |
#, no-wrap |
| 1554 |
msgid "FUNCTIONS" |
| 1555 |
msgstr "FUNCIONES" |
| 1556 |
|
| 1557 |
#. type: Plain text |
| 1558 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1559 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1560 |
msgid "" |
| 1561 |
"Functions provide a method of defining a computation that can be executed " |
| 1562 |
"later. Functions in B<bc> always compute a value and return it to the " |
| 1563 |
"caller. Function definitions are \"dynamic\" in the sense that a function " |
| 1564 |
"is undefined until a definition is encountered in the input. That " |
| 1565 |
"definition is then used until another definition function for the same name " |
| 1566 |
"is encountered. The new definition then replaces the older definition. A " |
| 1567 |
"function is defined as follows:" |
| 1568 |
msgstr "" |
| 1569 |
"Las funciones proporcionan un método para definir un cálculo que será " |
| 1570 |
"ejecutado más tarde. Las funciones en B<bc> siempre calculan un valor que " |
| 1571 |
"devuelven a quien la ha llamado. La definición de las funciones son " |
| 1572 |
"\"dinámicas\" en el sentido de que una función está indefinida hasta que se " |
| 1573 |
"encuentra una definición en la entrada. Se usa esa definición hasta que se " |
| 1574 |
"encuentra otra definición de función con el mismo nombre. La nueva " |
| 1575 |
"definición reemplaza a la anterior. Una función se define como sigue:" |
| 1576 |
|
| 1577 |
#. type: Plain text |
| 1578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1580 |
#, no-wrap |
| 1581 |
msgid "" |
| 1582 |
"B<define >I<name >B<( >I<parameters >B<) { >I<newline\n" |
| 1583 |
" auto_list statement_list >B<}>\n" |
| 1584 |
msgstr "" |
| 1585 |
"B<define >I<nombre >B<( >I<parámetros >B<) { >I<nueva_línea\n" |
| 1586 |
" auto_lista lista_de_sentencias >B<}>\n" |
| 1587 |
|
| 1588 |
#. type: Plain text |
| 1589 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1590 |
#: opensuse-tumbleweed |
| 1591 |
msgid "" |
| 1592 |
"A function call is just an expression of the form " |
| 1593 |
"\"I<name>B<(>I<parameters>B<)>\"." |
| 1594 |
msgstr "" |
| 1595 |
"La ejecución de una función es simplemente una expresión de la forma " |
| 1596 |
"\"I<nombre>B<(>I<parámetros>B<)>\"." |
| 1597 |
|
| 1598 |
#. type: Plain text |
| 1599 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1600 |
#: opensuse-tumbleweed |
| 1601 |
#, fuzzy |
| 1602 |
#| msgid "" |
| 1603 |
#| "Parameters are numbers or arrays (an extension). In the function " |
| 1604 |
#| "definition, zero or more parameters are defined by listing their names " |
| 1605 |
#| "separated by commas. Numbers are only call by value parameters. Arrays " |
| 1606 |
#| "are only call by variable. Arrays are specified in the parameter " |
| 1607 |
#| "definition by the notation \"I<name>B<[]>\". In the function call, " |
| 1608 |
#| "actual parameters are full expressions for number parameters. The same " |
| 1609 |
#| "notation is used for passing arrays as for defining array parameters. " |
| 1610 |
#| "The named array is passed by variable to the function. Since function " |
| 1611 |
#| "definitions are dynamic, parameter numbers and types are checked when a " |
| 1612 |
#| "function is called. Any mismatch in number or types of parameters will " |
| 1613 |
#| "cause a runtime error. A runtime error will also occur for the call to " |
| 1614 |
#| "an undefined function." |
| 1615 |
msgid "" |
| 1616 |
"Parameters are numbers or arrays (an extension). In the function " |
| 1617 |
"definition, zero or more parameters are defined by listing their names " |
| 1618 |
"separated by commas. All parameters are call by value parameters. Arrays " |
| 1619 |
"are specified in the parameter definition by the notation \"I<name>B<[]>\". " |
| 1620 |
"In the function call, actual parameters are full expressions for number " |
| 1621 |
"parameters. The same notation is used for passing arrays as for defining " |
| 1622 |
"array parameters. The named array is passed by value to the function. " |
| 1623 |
"Since function definitions are dynamic, parameter numbers and types are " |
| 1624 |
"checked when a function is called. Any mismatch in number or types of " |
| 1625 |
"parameters will cause a runtime error. A runtime error will also occur for " |
| 1626 |
"the call to an undefined function." |
| 1627 |
msgstr "" |
| 1628 |
"Los parámetros son números o matrices (una ampliación). En la definición de " |
| 1629 |
"la función, se definen cero o más parámetros listando sus nombres separados " |
| 1630 |
"por comas. Los números son llamados por valor. Las matrices son llamadas por " |
| 1631 |
"variable. Las matrices se especifican en la definición de parámetros " |
| 1632 |
"mediante la notación \"I<name>B<[]>\". En la llamada a la función, los " |
| 1633 |
"parámetros son expresiones completas para los parámetros que son números. " |
| 1634 |
"Se usa la misma notación para pasar matrices que para definirlas en los " |
| 1635 |
"parámetros. El nombre de la matriz se pasa a la función por variable. Como " |
| 1636 |
"las definiciones de las funciones son dinámicas, el número de parámetros y " |
| 1637 |
"los tipos se comprueban en el momento de llamar a la función. Cualquier " |
| 1638 |
"discrepancia en el número o en el tipo de los parámetros provocará un error " |
| 1639 |
"en tiempo de ejecución. También se provocará un error al llamar a una " |
| 1640 |
"función no definida." |
| 1641 |
|
| 1642 |
#. type: Plain text |
| 1643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1645 |
msgid "" |
| 1646 |
"The I<auto_list> is an optional list of variables that are for \"local\" " |
| 1647 |
"use. The syntax of the auto list (if present) is \"B<auto >I<name>, ... ;" |
| 1648 |
"\". (The semicolon is optional.) Each I<name> is the name of an auto " |
| 1649 |
"variable. Arrays may be specified by using the same notation as used in " |
| 1650 |
"parameters. These variables have their values pushed onto a stack at the " |
| 1651 |
"start of the function. The variables are then initialized to zero and used " |
| 1652 |
"throughout the execution of the function. At function exit, these variables " |
| 1653 |
"are popped so that the original value (at the time of the function call) of " |
| 1654 |
"these variables are restored. The parameters are really auto variables that " |
| 1655 |
"are initialized to a value provided in the function call. Auto variables " |
| 1656 |
"are different than traditional local variables because if function A calls " |
| 1657 |
"function B, B may access function A's auto variables by just using the same " |
| 1658 |
"name, unless function B has called them auto variables. Due to the fact " |
| 1659 |
"that auto variables and parameters are pushed onto a stack, B<bc> supports " |
| 1660 |
"recursive functions." |
| 1661 |
msgstr "" |
| 1662 |
"La I<auto_lista> es una lista opcional de variables para uso \"local\". La " |
| 1663 |
"sintaxis de esta lista (si se da) es \"B<auto >I<nombre>, ... ;\". (El punto " |
| 1664 |
"y coma es opcional). Cada I<nombre> es el nombre de una variable auto. Las " |
| 1665 |
"matrices se pueden especificar con la misma notación que se usa en los " |
| 1666 |
"parámetros. Los valores de estas variables se guardan en una pila al " |
| 1667 |
"comienzo de la función. Entonces son inicializadas a cero y se usan en el " |
| 1668 |
"transcurso de la función. Al finalizar la función, se recuperan de la pila " |
| 1669 |
"los valores originales (en el momento de la llamada a la función). Los " |
| 1670 |
"parámetros son realmente variables auto que se inicializan al valor " |
| 1671 |
"proporcionado en la llamada a la función. Las variables auto son diferentes " |
| 1672 |
"de las tradicionales variables locales en que si la función A llama a la " |
| 1673 |
"función B, B puede acceder a las variables auto de A simplemente usando sus " |
| 1674 |
"nombres, a no ser que la función B tenga variables auto del mismo nombre. " |
| 1675 |
"Como tanto las variables auto como los parámetros son guardados en una pila, " |
| 1676 |
"B<bc> admite funciones recursivas." |
| 1677 |
|
| 1678 |
#. type: Plain text |
| 1679 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1680 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1681 |
msgid "" |
| 1682 |
"The function body is a list of B<bc> statements. Again, statements are " |
| 1683 |
"separated by semicolons or newlines. Return statements cause the " |
| 1684 |
"termination of a function and the return of a value. There are two versions " |
| 1685 |
"of the return statement. The first form, \"B<return>\", returns the value 0 " |
| 1686 |
"to the calling expression. The second form, \"B<return ( >I<expression " |
| 1687 |
">B<)>\", computes the value of the expression and returns that value to the " |
| 1688 |
"calling expression. There is an implied \"B<return (0)>\" at the end of " |
| 1689 |
"every function. This allows a function to terminate and return 0 without an " |
| 1690 |
"explicit return statement." |
| 1691 |
msgstr "" |
| 1692 |
"El cuerpo de la función es una lista de sentencias de B<bc>. De nuevo las " |
| 1693 |
"sentencias van separadas por punto y coma o cambio de línea. La sentencia " |
| 1694 |
"return hace que la función termine y devuelva un valor a la expresión que ha " |
| 1695 |
"llamado a la función.. La primera forma, \"B<return>\", devuelve el valor 0. " |
| 1696 |
"La segunda forma \"B<return ( >I<expresión >B<)>\", calcula el valor de la " |
| 1697 |
"expresión y lo devuelve a la expresión que ha llamado la función. Hay un " |
| 1698 |
"\"B<return (0)>\" implícito al final de cada función. Esto permite a una " |
| 1699 |
"función terminar y devolver 0, sin necesidad de una sentencia return " |
| 1700 |
"explícita." |
| 1701 |
|
| 1702 |
#. type: Plain text |
| 1703 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1704 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1705 |
msgid "" |
| 1706 |
"Functions also change the usage of the variable B<ibase>. All constants in " |
| 1707 |
"the function body will be converted using the value of B<ibase> at the time " |
| 1708 |
"of the function call. Changes of B<ibase> will be ignored during the " |
| 1709 |
"execution of the function except for the standard function B<read>, which " |
| 1710 |
"will always use the current value of B<ibase> for conversion of numbers." |
| 1711 |
msgstr "" |
| 1712 |
"Las funciones también cambian el uso de la variable B<ibase>. Todas las " |
| 1713 |
"constantes en el cuerpo de la función son convertidas usando el valor de " |
| 1714 |
"B<ibase> en el momento de llamar a la función. Los cambios de B<ibase> serán " |
| 1715 |
"ignorados durante la ejecución de la función excepto para la función " |
| 1716 |
"estándar B<read>, que siempre usará el valor actual de B<ibase> para la " |
| 1717 |
"conversión de los números." |
| 1718 |
|
| 1719 |
#. type: Plain text |
| 1720 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1721 |
msgid "" |
| 1722 |
"Several extensions have been added to functions. First, the format of the " |
| 1723 |
"definition has been slightly relaxed. The standard requires the opening " |
| 1724 |
"brace be on the same line as the B<define> keyword and all other parts must " |
| 1725 |
"be on following lines. This version of B<bc> will allow any number of " |
| 1726 |
"newlines before and after the opening brace of the function. For example, " |
| 1727 |
"the following definitions are valid." |
| 1728 |
msgstr "" |
| 1729 |
|
| 1730 |
#. type: Plain text |
| 1731 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1732 |
#, fuzzy, no-wrap |
| 1733 |
#| msgid "" |
| 1734 |
#| "CW<\n" |
| 1735 |
#| "define d (n) { return (2*n); }\n" |
| 1736 |
#| "define d (n)\n" |
| 1737 |
#| " { return (2*n); }>\n" |
| 1738 |
#| "\n" |
| 1739 |
msgid "" |
| 1740 |
"\\f(CR\n" |
| 1741 |
"define d (n) { return (2*n); }\n" |
| 1742 |
"define d (n)\n" |
| 1743 |
" { return (2*n); }\\fR\n" |
| 1744 |
msgstr "" |
| 1745 |
"CW<\n" |
| 1746 |
"define d (n) { return (2*n); }\n" |
| 1747 |
"define d (n)\n" |
| 1748 |
" { return (2*n); }>\n" |
| 1749 |
"\n" |
| 1750 |
|
| 1751 |
#. type: Plain text |
| 1752 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1753 |
#: mageia-cauldron opensuse-tumbleweed |
| 1754 |
msgid "" |
| 1755 |
"Functions may be defined as B<void>. A void function returns no value and " |
| 1756 |
"thus may not be used in any place that needs a value. A void function does " |
| 1757 |
"not produce any output when called by itself on an input line. The key word " |
| 1758 |
"B<void> is placed between the key word B<define> and the function name. For " |
| 1759 |
"example, consider the following session." |
| 1760 |
msgstr "" |
| 1761 |
|
| 1762 |
#. type: Plain text |
| 1763 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1764 |
#, fuzzy, no-wrap |
| 1765 |
#| msgid "" |
| 1766 |
#| "CW<\n" |
| 1767 |
#| "define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }\n" |
| 1768 |
#| "define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }\n" |
| 1769 |
#| "py(1)\n" |
| 1770 |
#| "---E<gt>1E<lt>---\n" |
| 1771 |
#| "0\n" |
| 1772 |
#| "px(1)\n" |
| 1773 |
#| "---E<gt>1E<lt>--->\n" |
| 1774 |
#| "\n" |
| 1775 |
msgid "" |
| 1776 |
"\\f(CR\n" |
| 1777 |
"define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }\n" |
| 1778 |
"define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }\n" |
| 1779 |
"py(1)\n" |
| 1780 |
"---E<gt>1E<lt>---\n" |
| 1781 |
"0\n" |
| 1782 |
"px(1)\n" |
| 1783 |
"---E<gt>1E<lt>---\\fR\n" |
| 1784 |
msgstr "" |
| 1785 |
"CW<\n" |
| 1786 |
"define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }\n" |
| 1787 |
"define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }\n" |
| 1788 |
"py(1)\n" |
| 1789 |
"---E<gt>1E<lt>---\n" |
| 1790 |
"0\n" |
| 1791 |
"px(1)\n" |
| 1792 |
"---E<gt>1E<lt>--->\n" |
| 1793 |
"\n" |
| 1794 |
|
| 1795 |
#. type: Plain text |
| 1796 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1797 |
msgid "" |
| 1798 |
"\\f(CRSince B<py> is not a void function, the call of B<py(1)> prints the " |
| 1799 |
"desired output and then prints a second line that is the value of the " |
| 1800 |
"function. Since the value of a function that is not given an explicit " |
| 1801 |
"return statement is zero, the zero is printed. For B<px(1)>, no zero is " |
| 1802 |
"printed because the function is a void function." |
| 1803 |
msgstr "" |
| 1804 |
|
| 1805 |
#. type: Plain text |
| 1806 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1807 |
#: opensuse-tumbleweed |
| 1808 |
msgid "" |
| 1809 |
"Also, call by variable for arrays was added. To declare a call by variable " |
| 1810 |
"array, the declaration of the array parameter in the function definition " |
| 1811 |
"looks like \"I<*name>B<[]>\". The call to the function remains the same as " |
| 1812 |
"call by value arrays." |
| 1813 |
msgstr "" |
| 1814 |
|
| 1815 |
#. type: SS |
| 1816 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1817 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1818 |
#, no-wrap |
| 1819 |
msgid "MATH LIBRARY" |
| 1820 |
msgstr "BIBLIOTECA MATEMÁTICA" |
| 1821 |
|
| 1822 |
#. type: Plain text |
| 1823 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1824 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1825 |
msgid "" |
| 1826 |
"If B<bc> is invoked with the B<-l> option, a math library is preloaded and " |
| 1827 |
"the default scale is set to 20. The math functions will calculate their " |
| 1828 |
"results to the scale set at the time of their call. The math library " |
| 1829 |
"defines the following functions:" |
| 1830 |
msgstr "" |
| 1831 |
"Si se invoca B<bc> con la opción B<-l>, una biblioteca matemática es pre-" |
| 1832 |
"cargada y la escala por defecto se pone a 20. Las funciones matemáticas " |
| 1833 |
"calcularán sus resultados a la escala definida en el momento de su llamada. " |
| 1834 |
"La biblioteca matemática define las siguientes funciones:" |
| 1835 |
|
| 1836 |
#. type: IP |
| 1837 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1838 |
#: opensuse-tumbleweed |
| 1839 |
#, no-wrap |
| 1840 |
msgid "s (I<x>)" |
| 1841 |
msgstr "s (I<x>)" |
| 1842 |
|
| 1843 |
#. type: Plain text |
| 1844 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1845 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1846 |
msgid "The sine of x, x is in radians." |
| 1847 |
msgstr "El seno de x, con x en radianes." |
| 1848 |
|
| 1849 |
#. type: IP |
| 1850 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1851 |
#: opensuse-tumbleweed |
| 1852 |
#, no-wrap |
| 1853 |
msgid "c (I<x>)" |
| 1854 |
msgstr "c (I<x>)" |
| 1855 |
|
| 1856 |
#. type: Plain text |
| 1857 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1858 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1859 |
msgid "The cosine of x, x is in radians." |
| 1860 |
msgstr "El coseno de x, con x en radianes." |
| 1861 |
|
| 1862 |
#. type: IP |
| 1863 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1864 |
#: opensuse-tumbleweed |
| 1865 |
#, no-wrap |
| 1866 |
msgid "a (I<x>)" |
| 1867 |
msgstr "a (I<x>)" |
| 1868 |
|
| 1869 |
#. type: Plain text |
| 1870 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1871 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1872 |
msgid "The arctangent of x, arctangent returns radians." |
| 1873 |
msgstr "El arcotangente de x, con el resultado en radianes." |
| 1874 |
|
| 1875 |
#. type: IP |
| 1876 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1877 |
#: opensuse-tumbleweed |
| 1878 |
#, no-wrap |
| 1879 |
msgid "l (I<x>)" |
| 1880 |
msgstr "l (I<x>)" |
| 1881 |
|
| 1882 |
#. type: Plain text |
| 1883 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1884 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1885 |
msgid "The natural logarithm of x." |
| 1886 |
msgstr "El logaritmo natural de x." |
| 1887 |
|
| 1888 |
#. type: IP |
| 1889 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1890 |
#: opensuse-tumbleweed |
| 1891 |
#, no-wrap |
| 1892 |
msgid "e (I<x>)" |
| 1893 |
msgstr "e (I<x>)" |
| 1894 |
|
| 1895 |
#. type: Plain text |
| 1896 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1897 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1898 |
msgid "The exponential function of raising e to the value x." |
| 1899 |
msgstr "La función exponencial resultante de elevar e al valor de x." |
| 1900 |
|
| 1901 |
#. type: IP |
| 1902 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 1903 |
#: opensuse-tumbleweed |
| 1904 |
#, no-wrap |
| 1905 |
msgid "j (I<n,x>)" |
| 1906 |
msgstr "j (I<n,x>)" |
| 1907 |
|
| 1908 |
#. type: Plain text |
| 1909 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1910 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1911 |
msgid "The Bessel function of integer order n of x." |
| 1912 |
msgstr "La función Bessel de orden entero n de x." |
| 1913 |
|
| 1914 |
#. type: SS |
| 1915 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1916 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1917 |
#, no-wrap |
| 1918 |
msgid "EXAMPLES" |
| 1919 |
msgstr "EJEMPLOS" |
| 1920 |
|
| 1921 |
#. type: Plain text |
| 1922 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1923 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1924 |
msgid "" |
| 1925 |
"In /bin/sh, the following will assign the value of \"pi\" to the shell " |
| 1926 |
"variable B<pi>." |
| 1927 |
msgstr "" |
| 1928 |
"En /bin/sh, lo siguiente asignará el valor de \"pi\" a la variable shell " |
| 1929 |
"B<pi>." |
| 1930 |
|
| 1931 |
#. type: Plain text |
| 1932 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1933 |
#, fuzzy |
| 1934 |
#| msgid "CW< pi=$(echo \"scale=10; 4*a(1)\" | bc -l)>" |
| 1935 |
msgid "\\f(CR pi=$(echo \"scale=10; 4*a(1)\" | bc -l)\\fR" |
| 1936 |
msgstr "CW< pi=$(echo \"scale=10; 4*a(1)\" | bc -l)>" |
| 1937 |
|
| 1938 |
#. type: Plain text |
| 1939 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1940 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1941 |
msgid "" |
| 1942 |
"The following is the definition of the exponential function used in the math " |
| 1943 |
"library. This function is written in POSIX B<bc>." |
| 1944 |
msgstr "" |
| 1945 |
"Lo siguiente es la definición de la función exponencial usada en la " |
| 1946 |
"biblioteca matemática. Esta función está escrita en B<bc> de POSIX." |
| 1947 |
|
| 1948 |
#. type: Plain text |
| 1949 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1950 |
#, fuzzy, no-wrap |
| 1951 |
#| msgid "" |
| 1952 |
#| "CW<\n" |
| 1953 |
#| "scale = 20>\n" |
| 1954 |
msgid "" |
| 1955 |
"\\f(CR\n" |
| 1956 |
"scale = 20\\fR\n" |
| 1957 |
msgstr "" |
| 1958 |
"CW<\n" |
| 1959 |
"scale = 20>\n" |
| 1960 |
|
| 1961 |
#. type: Plain text |
| 1962 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1963 |
#, fuzzy, no-wrap |
| 1964 |
#| msgid "" |
| 1965 |
#| "CW</* Uses the fact that e^x = (e^(x/2))^2\n" |
| 1966 |
#| " When x is small enough, we use the series:\n" |
| 1967 |
#| " e^x = 1 + x + x^2/2! + x^3/3! + ...\n" |
| 1968 |
#| "*/>\n" |
| 1969 |
msgid "" |
| 1970 |
"\\f(CR/* Uses the fact that e^x = (e^(x/2))^2\n" |
| 1971 |
" When x is small enough, we use the series:\n" |
| 1972 |
" e^x = 1 + x + x^2/2! + x^3/3! + ...\n" |
| 1973 |
"*/\\fR\n" |
| 1974 |
msgstr "" |
| 1975 |
"CW</* Usa el hecho de que e^x = (e^(x/2))^2\n" |
| 1976 |
" Si x es lo suficientemente pequeño, se usa la serie:\n" |
| 1977 |
" e^x = 1 + x + x^2/2! + x^3/3! + ...\n" |
| 1978 |
"*/>\n" |
| 1979 |
|
| 1980 |
#. type: Plain text |
| 1981 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1982 |
#, fuzzy, no-wrap |
| 1983 |
#| msgid "" |
| 1984 |
#| "CW<define e(x) {\n" |
| 1985 |
#| " auto a, d, e, f, i, m, v, z>\n" |
| 1986 |
msgid "" |
| 1987 |
"\\f(CRdefine e(x) {\n" |
| 1988 |
" auto a, d, e, f, i, m, v, z\\fR\n" |
| 1989 |
msgstr "" |
| 1990 |
"CW<define e(x) {\n" |
| 1991 |
" auto a, d, e, f, i, m, v, z>\n" |
| 1992 |
|
| 1993 |
#. type: Plain text |
| 1994 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 1995 |
#, fuzzy, no-wrap |
| 1996 |
#| msgid "" |
| 1997 |
#| "CW< /* Check the sign of x. */\n" |
| 1998 |
#| " if (xE<lt>0) {\n" |
| 1999 |
#| " m = 1\n" |
| 2000 |
#| " x = -x\n" |
| 2001 |
#| " }>\n" |
| 2002 |
msgid "" |
| 2003 |
"\\f(CR /* Check the sign of x. */\n" |
| 2004 |
" if (xE<lt>0) {\n" |
| 2005 |
" m = 1\n" |
| 2006 |
" x = -x\n" |
| 2007 |
" }\\fR\n" |
| 2008 |
msgstr "" |
| 2009 |
"CW< /* Comprueba el signo de x. */\n" |
| 2010 |
" if (xE<lt>0) {\n" |
| 2011 |
" m = 1\n" |
| 2012 |
" x = -x\n" |
| 2013 |
" }>\n" |
| 2014 |
|
| 2015 |
#. type: Plain text |
| 2016 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 2017 |
#, fuzzy, no-wrap |
| 2018 |
#| msgid "" |
| 2019 |
#| "CW< /* Precondition x. */\n" |
| 2020 |
#| " z = scale;\n" |
| 2021 |
#| " scale = 4 + z + .44*x;\n" |
| 2022 |
#| " while (x E<gt> 1) {\n" |
| 2023 |
#| " f += 1;\n" |
| 2024 |
#| " x /= 2;\n" |
| 2025 |
#| " }>\n" |
| 2026 |
msgid "" |
| 2027 |
"\\f(CR /* Precondition x. */\n" |
| 2028 |
" z = scale;\n" |
| 2029 |
" scale = 4 + z + .44*x;\n" |
| 2030 |
" while (x E<gt> 1) {\n" |
| 2031 |
" f += 1;\n" |
| 2032 |
" x /= 2;\n" |
| 2033 |
" }\\fR\n" |
| 2034 |
msgstr "" |
| 2035 |
"CW< /* Precondición x. */\n" |
| 2036 |
" z = scale;\n" |
| 2037 |
" scale = 4 + z + .44*x;\n" |
| 2038 |
" while (x E<gt> 1) {\n" |
| 2039 |
" f += 1;\n" |
| 2040 |
" x /= 2;\n" |
| 2041 |
" }>\n" |
| 2042 |
|
| 2043 |
#. type: Plain text |
| 2044 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 2045 |
#, fuzzy, no-wrap |
| 2046 |
#| msgid "" |
| 2047 |
#| "CW< /* Initialize the variables. */\n" |
| 2048 |
#| " v = 1+x\n" |
| 2049 |
#| " a = x\n" |
| 2050 |
#| " d = 1>\n" |
| 2051 |
msgid "" |
| 2052 |
"\\f(CR /* Initialize the variables. */\n" |
| 2053 |
" v = 1+x\n" |
| 2054 |
" a = x\n" |
| 2055 |
" d = 1\\fR\n" |
| 2056 |
msgstr "" |
| 2057 |
"CW< /* Inicialización de las variables. */\n" |
| 2058 |
" v = 1+x\n" |
| 2059 |
" a = x\n" |
| 2060 |
" d = 1>\n" |
| 2061 |
|
| 2062 |
#. type: Plain text |
| 2063 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 2064 |
#, fuzzy, no-wrap |
| 2065 |
#| msgid "" |
| 2066 |
#| "CW< for (i=2; 1; i++) {\n" |
| 2067 |
#| " e = (a *= x) / (d *= i)\n" |
| 2068 |
#| " if (e == 0) {\n" |
| 2069 |
#| " if (fE<gt>0) while (f--) v = v*v;\n" |
| 2070 |
#| " scale = z\n" |
| 2071 |
#| " if (m) return (1/v);\n" |
| 2072 |
#| " return (v/1);\n" |
| 2073 |
#| " }\n" |
| 2074 |
#| " v += e\n" |
| 2075 |
#| " }\n" |
| 2076 |
#| "}>\n" |
| 2077 |
#| "\n" |
| 2078 |
msgid "" |
| 2079 |
"\\f(CR for (i=2; 1; i++) {\n" |
| 2080 |
" e = (a *= x) / (d *= i)\n" |
| 2081 |
" if (e == 0) {\n" |
| 2082 |
" if (fE<gt>0) while (f--) v = v*v;\n" |
| 2083 |
" scale = z\n" |
| 2084 |
" if (m) return (1/v);\n" |
| 2085 |
" return (v/1);\n" |
| 2086 |
" }\n" |
| 2087 |
" v += e\n" |
| 2088 |
" }\n" |
| 2089 |
"}\\fR\n" |
| 2090 |
msgstr "" |
| 2091 |
"CW< for (i=2; 1; i++) {\n" |
| 2092 |
" e = (a *= x) / (d *= i)\n" |
| 2093 |
" if (e == 0) {\n" |
| 2094 |
" if (fE<gt>0) while (f--) v = v*v;\n" |
| 2095 |
" scale = z\n" |
| 2096 |
" if (m) return (1/v);\n" |
| 2097 |
" return (v/1);\n" |
| 2098 |
" }\n" |
| 2099 |
" v += e\n" |
| 2100 |
" }\n" |
| 2101 |
"}>\n" |
| 2102 |
"\n" |
| 2103 |
|
| 2104 |
#. type: Plain text |
| 2105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2107 |
msgid "" |
| 2108 |
"The following is code that uses the extended features of B<bc> to implement " |
| 2109 |
"a simple program for calculating checkbook balances. This program is best " |
| 2110 |
"kept in a file so that it can be used many times without having to retype it " |
| 2111 |
"at every use." |
| 2112 |
msgstr "" |
| 2113 |
"El siguiente código usa las características ampliadas de B<bc> para " |
| 2114 |
"implementar un simple programa para calcular balances. Es mejor guardar este " |
| 2115 |
"programa en un fichero para poderlo usar varias veces sin tener que " |
| 2116 |
"teclearlo cada vez." |
| 2117 |
|
| 2118 |
#. type: Plain text |
| 2119 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 2120 |
#, fuzzy, no-wrap |
| 2121 |
#| msgid "" |
| 2122 |
#| "CW<\n" |
| 2123 |
#| "scale=2\n" |
| 2124 |
#| "print \"\\enCheck book program!\\en\"\n" |
| 2125 |
#| "print \" Remember, deposits are negative transactions.\\en\"\n" |
| 2126 |
#| "print \" Exit by a 0 transaction.\\en\\en\">\n" |
| 2127 |
msgid "" |
| 2128 |
"\\f(CR\n" |
| 2129 |
"scale=2\n" |
| 2130 |
"print \"\\enCheck book program!\\en\"\n" |
| 2131 |
"print \" Remember, deposits are negative transactions.\\en\"\n" |
| 2132 |
"print \" Exit by a 0 transaction.\\en\\en\"\\fR\n" |
| 2133 |
msgstr "" |
| 2134 |
"CW<\n" |
| 2135 |
"scale=2\n" |
| 2136 |
"print \"\\en¡Programa de balances!\\en\"\n" |
| 2137 |
"print \" Recuerde, los depósitos son transacciones negativas.\\en\"\n" |
| 2138 |
"print \" Para salir introducir una transacción 0 .\\en\\en\">\n" |
| 2139 |
|
| 2140 |
#. type: Plain text |
| 2141 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 2142 |
#, fuzzy, no-wrap |
| 2143 |
#| msgid "" |
| 2144 |
#| "CW<print \"Initial balance? \"; bal = read()\n" |
| 2145 |
#| "bal /= 1\n" |
| 2146 |
#| "print \"\\en\"\n" |
| 2147 |
#| "while (1) {\n" |
| 2148 |
#| " \"current balance = \"; bal\n" |
| 2149 |
#| " \"transaction? \"; trans = read()\n" |
| 2150 |
#| " if (trans == 0) break;\n" |
| 2151 |
#| " bal -= trans\n" |
| 2152 |
#| " bal /= 1\n" |
| 2153 |
#| "}\n" |
| 2154 |
#| "quit>\n" |
| 2155 |
#| "\n" |
| 2156 |
msgid "" |
| 2157 |
"\\f(CRprint \"Initial balance? \"; bal = read()\n" |
| 2158 |
"bal /= 1\n" |
| 2159 |
"print \"\\en\"\n" |
| 2160 |
"while (1) {\n" |
| 2161 |
" \"current balance = \"; bal\n" |
| 2162 |
" \"transaction? \"; trans = read()\n" |
| 2163 |
" if (trans == 0) break;\n" |
| 2164 |
" bal -= trans\n" |
| 2165 |
" bal /= 1\n" |
| 2166 |
"}\n" |
| 2167 |
"quit\\fR\n" |
| 2168 |
msgstr "" |
| 2169 |
"CW<print \"¿ Balance inicial ? \"; bal = read()\n" |
| 2170 |
"bal /= 1\n" |
| 2171 |
"print \"\\en\"\n" |
| 2172 |
"while (1) {\n" |
| 2173 |
" \"Balance actual = \"; bal\n" |
| 2174 |
" \"¿ transacción ? \"; trans = read()\n" |
| 2175 |
" if (trans == 0) break;\n" |
| 2176 |
" bal -= trans\n" |
| 2177 |
" bal /= 1\n" |
| 2178 |
"}\n" |
| 2179 |
"quit>\n" |
| 2180 |
"\n" |
| 2181 |
|
| 2182 |
#. type: Plain text |
| 2183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2185 |
msgid "The following is the definition of the recursive factorial function." |
| 2186 |
msgstr "Lo siguiente es la definición de la función factorial recursiva." |
| 2187 |
|
| 2188 |
#. type: Plain text |
| 2189 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 2190 |
#, fuzzy, no-wrap |
| 2191 |
#| msgid "" |
| 2192 |
#| "CW<\n" |
| 2193 |
#| "define f (x) {\n" |
| 2194 |
#| " if (x E<lt>= 1) return (1);\n" |
| 2195 |
#| " return (f(x-1) * x);\n" |
| 2196 |
#| "}>\n" |
| 2197 |
#| "\n" |
| 2198 |
msgid "" |
| 2199 |
"\\f(CR\n" |
| 2200 |
"define f (x) {\n" |
| 2201 |
" if (x E<lt>= 1) return (1);\n" |
| 2202 |
" return (f(x-1) * x);\n" |
| 2203 |
"}\\fR\n" |
| 2204 |
msgstr "" |
| 2205 |
"CW<\n" |
| 2206 |
"define f (x) {\n" |
| 2207 |
" if (x E<lt>= 1) return (1);\n" |
| 2208 |
" return (f(x-1) * x);\n" |
| 2209 |
"}>\n" |
| 2210 |
"\n" |
| 2211 |
|
| 2212 |
#. type: SS |
| 2213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2215 |
#, no-wrap |
| 2216 |
msgid "READLINE AND LIBEDIT OPTIONS" |
| 2217 |
msgstr "OPCIÓNES READLINE Y LIBEDIT" |
| 2218 |
|
| 2219 |
#. type: Plain text |
| 2220 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 2221 |
#: opensuse-tumbleweed |
| 2222 |
#, fuzzy |
| 2223 |
#| msgid "" |
| 2224 |
#| "GNU B<bc> can be compiled (via a configure option) to use the GNU " |
| 2225 |
#| "B<readline> input editor library. This allows the user to do more " |
| 2226 |
#| "editing of lines before sending them to B<bc>. It also allows for a " |
| 2227 |
#| "history of previous lines typed. When this option is selected, B<bc> has " |
| 2228 |
#| "one more special variable. This special variable, B<history> is the " |
| 2229 |
#| "number of lines of history retained. A value of -1 means that an " |
| 2230 |
#| "unlimited number of history lines are retained. This is the default " |
| 2231 |
#| "value. Setting the value of B<history> to a positive number restricts " |
| 2232 |
#| "the number of history lines to the number given. The value of 0 disables " |
| 2233 |
#| "the history feature. For more information, read the user manuals for the " |
| 2234 |
#| "GNU B<readline> and B<history> libraries." |
| 2235 |
msgid "" |
| 2236 |
"GNU B<bc> can be compiled (via a configure option) to use the GNU " |
| 2237 |
"B<readline> input editor library or the BSD B<libedit> library. This allows " |
| 2238 |
"the user to do editing of lines before sending them to B<bc>. It also " |
| 2239 |
"allows for a history of previous lines typed. When this option is selected, " |
| 2240 |
"B<bc> has one more special variable. This special variable, B<history> is " |
| 2241 |
"the number of lines of history retained. For B<readline>, a value of -1 " |
| 2242 |
"means that an unlimited number of history lines are retained. Setting the " |
| 2243 |
"value of B<history> to a positive number restricts the number of history " |
| 2244 |
"lines to the number given. The value of 0 disables the history feature. " |
| 2245 |
"The default value is 100. For more information, read the user manuals for " |
| 2246 |
"the GNU B<readline>, B<history> and BSD B<libedit> libraries. One can not " |
| 2247 |
"enable both B<readline> and B<libedit> at the same time." |
| 2248 |
msgstr "" |
| 2249 |
"El B<bc> de GNU se puede compilar (mediante una opción de configuración) " |
| 2250 |
"para usar la biblioteca de entrada B<readline> de GNU. Esto permite al " |
| 2251 |
"usuario mayor posibilidad de edición de las líneas antes de mandarlas a " |
| 2252 |
"B<bc>. También permite tener un histórico de las líneas previamente " |
| 2253 |
"introducidas. Cuando se selecciona esta opción, B<bc> tiene una variable " |
| 2254 |
"especial más. Esta variable especial, B<history> es el número de líneas que " |
| 2255 |
"se guardan en el histórico. Un valor de -1 significa que este número es " |
| 2256 |
"ilimitado. Este es el valor por defecto. Dando un valor positivo a " |
| 2257 |
"B<history> se restringe el número de líneas a este valor. El valor 0 " |
| 2258 |
"desactiva el histórico. Para más información, leer los manuales de usuario " |
| 2259 |
"de las bibliotecas B<readline> y B<history> de GNU." |
| 2260 |
|
| 2261 |
#. type: SS |
| 2262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2264 |
#, no-wrap |
| 2265 |
msgid "DIFFERENCES" |
| 2266 |
msgstr "DIFERENCIAS" |
| 2267 |
|
| 2268 |
#. type: Plain text |
| 2269 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 2270 |
#, fuzzy |
| 2271 |
#| msgid "" |
| 2272 |
#| "This version of B<bc> was implemented from the POSIX P1003.2/D11 draft " |
| 2273 |
#| "and contains several differences and extensions relative to the draft and " |
| 2274 |
#| "traditional implementations. It is not implemented in the traditional " |
| 2275 |
#| "way using I<dc(1).> This version is a single process which parses and " |
| 2276 |
#| "runs a byte code translation of the program. There is an " |
| 2277 |
#| "\"undocumented\" option (-c) that causes the program to output the byte " |
| 2278 |
#| "code to the standard output instead of running it. It was mainly used " |
| 2279 |
#| "for debugging the parser and preparing the math library." |
| 2280 |
msgid "" |
| 2281 |
"This version of B<bc> was implemented from the POSIX P1003.2/D11 draft and " |
| 2282 |
"contains several differences and extensions relative to the draft and " |
| 2283 |
"traditional implementations. It is not implemented in the traditional way " |
| 2284 |
"using B<dc>(1). This version is a single process which parses and runs a " |
| 2285 |
"byte code translation of the program. There is an \"undocumented\" option (-" |
| 2286 |
"c) that causes the program to output the byte code to the standard output " |
| 2287 |
"instead of running it. It was mainly used for debugging the parser and " |
| 2288 |
"preparing the math library." |
| 2289 |
msgstr "" |
| 2290 |
"Esta versión de B<bc> fue implementada a partir del borrador POSIX P1003.2/" |
| 2291 |
"D11 y contiene varias diferencias y ampliaciones respecto a este borrador y " |
| 2292 |
"las implementaciones tradicionales. No está implementada usando I<dc(1)> " |
| 2293 |
"como suele ser tradicional. Esta versión es un simple proceso que analiza el " |
| 2294 |
"programa y ejecuta una traducción de este a un código de bytes (byte code). " |
| 2295 |
"Hay una opción \"indocumentada\" (-c) que hace que el programa imprima en la " |
| 2296 |
"salida estándar este código en lugar de ejecutarlo. Fue usada principalmente " |
| 2297 |
"para depurar el analizador y preparar la biblioteca matemática." |
| 2298 |
|
| 2299 |
#. type: Plain text |
| 2300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2302 |
msgid "" |
| 2303 |
"A major source of differences is extensions, where a feature is extended to " |
| 2304 |
"add more functionality and additions, where new features are added. The " |
| 2305 |
"following is the list of differences and extensions." |
| 2306 |
msgstr "" |
| 2307 |
"Una mayor fuente de diferencias son las ampliaciones, tanto cuando son " |
| 2308 |
"añadidas para dar más funcionalidad como cuando añaden nuevas " |
| 2309 |
"características. Esta es la lista de las diferencias y ampliaciones." |
| 2310 |
|
| 2311 |
#. type: IP |
| 2312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2314 |
#, no-wrap |
| 2315 |
msgid "LANG environment" |
| 2316 |
msgstr "" |
| 2317 |
|
| 2318 |
#. type: Plain text |
| 2319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2321 |
msgid "" |
| 2322 |
"This version does not conform to the POSIX standard in the processing of the " |
| 2323 |
"LANG environment variable and all environment variables starting with LC_." |
| 2324 |
msgstr "" |
| 2325 |
"Esta versión no se ajusta al estándar POSIX sobre el proceso de la variable " |
| 2326 |
"de entorno LANG y todas las variables de entorno que comienzan por LC_." |
| 2327 |
|
| 2328 |
#. type: IP |
| 2329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2331 |
#, no-wrap |
| 2332 |
msgid "names" |
| 2333 |
msgstr "nombres" |
| 2334 |
|
| 2335 |
#. type: Plain text |
| 2336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2338 |
msgid "" |
| 2339 |
"Traditional and POSIX B<bc> have single letter names for functions, " |
| 2340 |
"variables and arrays. They have been extended to be multi-character names " |
| 2341 |
"that start with a letter and may contain letters, numbers and the underscore " |
| 2342 |
"character." |
| 2343 |
msgstr "" |
| 2344 |
"El B<bc> tradicional y el de POSIX usan nombres de una sola letra para " |
| 2345 |
"funciones, variables y matrices. Han sido ampliados para ser nombres multi-" |
| 2346 |
"carácter que comienzan por una letra y pueden contener letras, dígitos y " |
| 2347 |
"caracteres de subrayado." |
| 2348 |
|
| 2349 |
#. type: IP |
| 2350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2352 |
#, no-wrap |
| 2353 |
msgid "Strings" |
| 2354 |
msgstr "Cadenas" |
| 2355 |
|
| 2356 |
#. type: Plain text |
| 2357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2359 |
msgid "" |
| 2360 |
"Strings are not allowed to contain NUL characters. POSIX says all " |
| 2361 |
"characters must be included in strings." |
| 2362 |
msgstr "" |
| 2363 |
"No se permite que las cadenas contengan caracteres nulos (NUL). El estándar " |
| 2364 |
"POSIX dice que todos los caracteres se deben incluir en las cadenas." |
| 2365 |
|
| 2366 |
#. type: IP |
| 2367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2369 |
#, no-wrap |
| 2370 |
msgid "last" |
| 2371 |
msgstr "last" |
| 2372 |
|
| 2373 |
#. type: Plain text |
| 2374 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 2375 |
#: opensuse-tumbleweed |
| 2376 |
msgid "" |
| 2377 |
"POSIX B<bc> does not have a B<last> variable. Some implementations of B<bc> " |
| 2378 |
"use the period (.) in a similar way." |
| 2379 |
msgstr "" |
| 2380 |
"En el B<bc> de POSIX no existe la variable B<last>. Algunas implementaciones " |
| 2381 |
"de B<bc> usan el punto (.) de manera similar." |
| 2382 |
|
| 2383 |
#. type: IP |
| 2384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2386 |
#, no-wrap |
| 2387 |
msgid "comparisons" |
| 2388 |
msgstr "comparaciones" |
| 2389 |
|
| 2390 |
#. type: Plain text |
| 2391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2393 |
msgid "" |
| 2394 |
"POSIX B<bc> allows comparisons only in the if statement, the while " |
| 2395 |
"statement, and the second expression of the for statement. Also, only one " |
| 2396 |
"relational operation is allowed in each of those statements." |
| 2397 |
msgstr "" |
| 2398 |
"El B<bc> de POSIX permite las comparaciones solo en la sentencia if, la " |
| 2399 |
"sentencia while y la segunda expresión de la sentencia for. Además, solo se " |
| 2400 |
"permite una operación relacional en cada una de estas sentencias." |
| 2401 |
|
| 2402 |
#. type: IP |
| 2403 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2404 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2405 |
#, no-wrap |
| 2406 |
msgid "if statement, else clause" |
| 2407 |
msgstr "sentencia if, cláusula else" |
| 2408 |
|
| 2409 |
#. type: Plain text |
| 2410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2412 |
msgid "POSIX B<bc> does not have an else clause." |
| 2413 |
msgstr "El B<bc> de POSIX no tiene la cláusula else." |
| 2414 |
|
| 2415 |
#. type: IP |
| 2416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2418 |
#, no-wrap |
| 2419 |
msgid "for statement" |
| 2420 |
msgstr "sentencia for" |
| 2421 |
|
| 2422 |
#. type: Plain text |
| 2423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2425 |
msgid "" |
| 2426 |
"POSIX B<bc> requires all expressions to be present in the for statement." |
| 2427 |
msgstr "" |
| 2428 |
"El B<bc> de POSIX obliga a que estén todas las expresiones de la sentencia " |
| 2429 |
"for." |
| 2430 |
|
| 2431 |
#. type: IP |
| 2432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2434 |
#, no-wrap |
| 2435 |
msgid "&&, ||, !" |
| 2436 |
msgstr "&&, ||, !" |
| 2437 |
|
| 2438 |
#. type: Plain text |
| 2439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2441 |
msgid "POSIX B<bc> does not have the logical operators." |
| 2442 |
msgstr "El B<bc> de POSIX no tiene los operadores lógicos." |
| 2443 |
|
| 2444 |
#. type: IP |
| 2445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2447 |
#, no-wrap |
| 2448 |
msgid "read function" |
| 2449 |
msgstr "función read" |
| 2450 |
|
| 2451 |
#. type: Plain text |
| 2452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2454 |
msgid "POSIX B<bc> does not have a read function." |
| 2455 |
msgstr "El B<bc> de POSIX no tiene la función read." |
| 2456 |
|
| 2457 |
#. type: IP |
| 2458 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2459 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2460 |
#, no-wrap |
| 2461 |
msgid "print statement" |
| 2462 |
msgstr "sentencia print" |
| 2463 |
|
| 2464 |
#. type: Plain text |
| 2465 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 2466 |
#: opensuse-tumbleweed |
| 2467 |
msgid "POSIX B<bc> does not have a print statement ." |
| 2468 |
msgstr "El B<bc> de POSIX no tiene la sentencia print." |
| 2469 |
|
| 2470 |
#. type: IP |
| 2471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2473 |
#, no-wrap |
| 2474 |
msgid "continue statement" |
| 2475 |
msgstr "sentencia continue" |
| 2476 |
|
| 2477 |
#. type: Plain text |
| 2478 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2479 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2480 |
msgid "POSIX B<bc> does not have a continue statement." |
| 2481 |
msgstr "El B<bc> de POSIX no tiene la sentencia continue." |
| 2482 |
|
| 2483 |
#. type: IP |
| 2484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2486 |
#, fuzzy, no-wrap |
| 2487 |
#| msgid "print statement" |
| 2488 |
msgid "return statement" |
| 2489 |
msgstr "sentencia print" |
| 2490 |
|
| 2491 |
#. type: Plain text |
| 2492 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2493 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2494 |
#, fuzzy |
| 2495 |
#| msgid "" |
| 2496 |
#| "POSIX B<bc> requires all expressions to be present in the for statement." |
| 2497 |
msgid "POSIX B<bc> requires parentheses around the return expression." |
| 2498 |
msgstr "" |
| 2499 |
"El B<bc> de POSIX obliga a que estén todas las expresiones de la sentencia " |
| 2500 |
"for." |
| 2501 |
|
| 2502 |
#. type: IP |
| 2503 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2504 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2505 |
#, no-wrap |
| 2506 |
msgid "array parameters" |
| 2507 |
msgstr "parámetros de tipo matriz" |
| 2508 |
|
| 2509 |
#. type: Plain text |
| 2510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2512 |
msgid "" |
| 2513 |
"POSIX B<bc> does not (currently) support array parameters in full. The " |
| 2514 |
"POSIX grammar allows for arrays in function definitions, but does not " |
| 2515 |
"provide a method to specify an array as an actual parameter. (This is most " |
| 2516 |
"likely an oversight in the grammar.) Traditional implementations of B<bc> " |
| 2517 |
"have only call by value array parameters." |
| 2518 |
msgstr "" |
| 2519 |
"El B<bc> de POSIX (actualmente) no admite totalmente las matrices como " |
| 2520 |
"parámetros. La gramática POSIX permite incluir matrices en la definición de " |
| 2521 |
"las funciones, pero no proporciona un método para especificar una matriz " |
| 2522 |
"como parámetro en la llamada. (Se puede considerar esto como un error de la " |
| 2523 |
"gramática). En las implementaciones tradicionales de B<bc> solo se pueden " |
| 2524 |
"usar las matrices como parámetros por valor." |
| 2525 |
|
| 2526 |
#. type: IP |
| 2527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2529 |
#, no-wrap |
| 2530 |
msgid "function format" |
| 2531 |
msgstr "" |
| 2532 |
|
| 2533 |
#. type: Plain text |
| 2534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2536 |
msgid "" |
| 2537 |
"POSIX B<bc> requires the opening brace on the same line as the B<define> key " |
| 2538 |
"word and the B<auto> statement on the next line." |
| 2539 |
msgstr "" |
| 2540 |
|
| 2541 |
#. type: IP |
| 2542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2544 |
#, no-wrap |
| 2545 |
msgid "=+, =-, =*, =/, =%, =^" |
| 2546 |
msgstr "=+, =-, =*, =/, =%, =^" |
| 2547 |
|
| 2548 |
#. type: Plain text |
| 2549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2551 |
msgid "" |
| 2552 |
"POSIX B<bc> does not require these \"old style\" assignment operators to be " |
| 2553 |
"defined. This version may allow these \"old style\" assignments. Use the " |
| 2554 |
"limits statement to see if the installed version supports them. If it does " |
| 2555 |
"support the \"old style\" assignment operators, the statement \"a =- 1\" " |
| 2556 |
"will decrement B<a> by 1 instead of setting B<a> to the value -1." |
| 2557 |
msgstr "" |
| 2558 |
"El B<bc> de POSIX no define estos operadores de asignación \"al viejo " |
| 2559 |
"estilo\". Esta versión puede que las permita. Utilice la sentencia limits " |
| 2560 |
"para ver si la versión instalada las admite. Si se admiten, la sentencia \"a " |
| 2561 |
"=- 1\" decrementará B<a> en 1 en lugar de asignar a B<a> el valor -1." |
| 2562 |
|
| 2563 |
#. type: IP |
| 2564 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2565 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2566 |
#, no-wrap |
| 2567 |
msgid "spaces in numbers" |
| 2568 |
msgstr "espacios en los números" |
| 2569 |
|
| 2570 |
#. type: Plain text |
| 2571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2573 |
msgid "" |
| 2574 |
"Other implementations of B<bc> allow spaces in numbers. For example, \"x=1 " |
| 2575 |
"3\" would assign the value 13 to the variable x. The same statement would " |
| 2576 |
"cause a syntax error in this version of B<bc>." |
| 2577 |
msgstr "" |
| 2578 |
"Otras implementaciones de B<bc> permiten espacios en los números. Por " |
| 2579 |
"ejemplo, \"x=1 3\" asignaría a la variable x el valor 13. La misma sentencia " |
| 2580 |
"provocará un error de sintaxis en esta versión de B<bc>." |
| 2581 |
|
| 2582 |
#. type: IP |
| 2583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2585 |
#, no-wrap |
| 2586 |
msgid "errors and execution" |
| 2587 |
msgstr "errores y ejecución" |
| 2588 |
|
| 2589 |
#. type: Plain text |
| 2590 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2591 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2592 |
msgid "" |
| 2593 |
"This implementation varies from other implementations in terms of what code " |
| 2594 |
"will be executed when syntax and other errors are found in the program. If " |
| 2595 |
"a syntax error is found in a function definition, error recovery tries to " |
| 2596 |
"find the beginning of a statement and continue to parse the function. Once " |
| 2597 |
"a syntax error is found in the function, the function will not be callable " |
| 2598 |
"and becomes undefined. Syntax errors in the interactive execution code will " |
| 2599 |
"invalidate the current execution block. The execution block is terminated " |
| 2600 |
"by an end of line that appears after a complete sequence of statements. For " |
| 2601 |
"example," |
| 2602 |
msgstr "" |
| 2603 |
"Esta implementación varia de otras implementaciones en el tema de qué código " |
| 2604 |
"se ejecutará cuando en el programa se encuentren errores sintácticos o de " |
| 2605 |
"otro tipo. Si en la definición de una función se encuentra un error " |
| 2606 |
"sintáctico, se intenta recuperar el error encontrando el principio de la " |
| 2607 |
"sentencia y continuando con el análisis de la función. Una vez que el error " |
| 2608 |
"se encuentra en la función, la función no podrá usarse y queda indefinida. " |
| 2609 |
"Los errores sintácticos en la ejecución de código interactivo invalidarán el " |
| 2610 |
"actual bloque en ejecución. El bloque en ejecución acaba con un salto de " |
| 2611 |
"línea tras una secuencia completa de sentencias. Por ejemplo," |
| 2612 |
|
| 2613 |
#. type: Plain text |
| 2614 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2615 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2616 |
#, no-wrap |
| 2617 |
msgid "" |
| 2618 |
"a = 1\n" |
| 2619 |
"b = 2\n" |
| 2620 |
msgstr "" |
| 2621 |
"a = 1\n" |
| 2622 |
"b = 2\n" |
| 2623 |
|
| 2624 |
#. type: Plain text |
| 2625 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2626 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2627 |
msgid "has two execution blocks and" |
| 2628 |
msgstr "tiene dos bloques y" |
| 2629 |
|
| 2630 |
#. type: Plain text |
| 2631 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2632 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2633 |
#, no-wrap |
| 2634 |
msgid "" |
| 2635 |
"{ a = 1\n" |
| 2636 |
" b = 2 }\n" |
| 2637 |
msgstr "" |
| 2638 |
"{ a = 1\n" |
| 2639 |
" b = 2 }\n" |
| 2640 |
|
| 2641 |
#. type: Plain text |
| 2642 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2643 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2644 |
msgid "" |
| 2645 |
"has one execution block. Any runtime error will terminate the execution of " |
| 2646 |
"the current execution block. A runtime warning will not terminate the " |
| 2647 |
"current execution block." |
| 2648 |
msgstr "" |
| 2649 |
"tiene un bloque. Cualquier error en tiempo de ejecución terminará con el " |
| 2650 |
"actual bloque en ejecución. Un mensaje de aviso (warning) en tiempo de " |
| 2651 |
"ejecución no terminará con el actual bloque en ejecución." |
| 2652 |
|
| 2653 |
#. type: IP |
| 2654 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2655 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2656 |
#, no-wrap |
| 2657 |
msgid "Interrupts" |
| 2658 |
msgstr "Interrupciones" |
| 2659 |
|
| 2660 |
#. type: Plain text |
| 2661 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2662 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2663 |
msgid "" |
| 2664 |
"During an interactive session, the SIGINT signal (usually generated by the " |
| 2665 |
"control-C character from the terminal) will cause execution of the current " |
| 2666 |
"execution block to be interrupted. It will display a \"runtime\" error " |
| 2667 |
"indicating which function was interrupted. After all runtime structures " |
| 2668 |
"have been cleaned up, a message will be printed to notify the user that " |
| 2669 |
"B<bc> is ready for more input. All previously defined functions remain " |
| 2670 |
"defined and the value of all non-auto variables are the value at the point " |
| 2671 |
"of interruption. All auto variables and function parameters are removed " |
| 2672 |
"during the clean up process. During a non-interactive session, the SIGINT " |
| 2673 |
"signal will terminate the entire run of B<bc>." |
| 2674 |
msgstr "" |
| 2675 |
"Durante una sesión interactiva, la señal SIGINT (habitualmente generada por " |
| 2676 |
"el carácter control-C desde el terminal) provocará la interrupción del " |
| 2677 |
"actual bloque en ejecución. Se mostrará un error en tiempo de ejecución " |
| 2678 |
"indicando que función fue interrumpida. Después de limpiar todas las " |
| 2679 |
"estructuras, se muestra un mensaje al usuario para indicarle que B<bc> esta " |
| 2680 |
"listo para aceptar más entrada. Todas las funciones definidas previamente " |
| 2681 |
"permanecen definidas y las variables que no sean del tipo auto conservan el " |
| 2682 |
"valor que tenían en el momento de la interrupción. Durante una sesión no-" |
| 2683 |
"interactiva, la señal SIGINT interrumpirá la ejecución de B<bc> por completo." |
| 2684 |
|
| 2685 |
#. type: SS |
| 2686 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2687 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2688 |
#, no-wrap |
| 2689 |
msgid "LIMITS" |
| 2690 |
msgstr "LÍMITES" |
| 2691 |
|
| 2692 |
#. type: Plain text |
| 2693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2695 |
msgid "" |
| 2696 |
"The following are the limits currently in place for this B<bc> processor. " |
| 2697 |
"Some of them may have been changed by an installation. Use the limits " |
| 2698 |
"statement to see the actual values." |
| 2699 |
msgstr "" |
| 2700 |
"Los límites actualmente en vigor para este procesador B<bc> son los " |
| 2701 |
"siguientes. Algunos de ellos pueden haber cambiado en el proceso de " |
| 2702 |
"instalación. Utilice la sentencia limits para ver sus valores actuales." |
| 2703 |
|
| 2704 |
#. type: IP |
| 2705 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2706 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2707 |
#, no-wrap |
| 2708 |
msgid "BC_BASE_MAX" |
| 2709 |
msgstr "BC_BASE_MAX" |
| 2710 |
|
| 2711 |
#. type: Plain text |
| 2712 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed |
| 2713 |
#, fuzzy |
| 2714 |
#| msgid "" |
| 2715 |
#| "The maximum output base is currently set at 999. The maximum input base " |
| 2716 |
#| "is 16." |
| 2717 |
msgid "" |
| 2718 |
"The maximum output base is at least 10^9. The maximum input base is 16." |
| 2719 |
msgstr "" |
| 2720 |
"La máxima base de salida se inicializa actualmente a 999. La base máxima de " |
| 2721 |
"entrada es 16." |
| 2722 |
|
| 2723 |
#. type: IP |
| 2724 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2725 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2726 |
#, no-wrap |
| 2727 |
msgid "BC_DIM_MAX" |
| 2728 |
msgstr "BC_DIM_MAX" |
| 2729 |
|
| 2730 |
#. type: Plain text |
| 2731 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2732 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2733 |
msgid "" |
| 2734 |
"This is currently an arbitrary limit of 65535 as distributed. Your " |
| 2735 |
"installation may be different." |
| 2736 |
msgstr "" |
| 2737 |
"Tal y como se distribuye, este límite se inicializa arbitrariamente a 65535. " |
| 2738 |
"En su instalación puede ser diferente." |
| 2739 |
|
| 2740 |
#. type: IP |
| 2741 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2742 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2743 |
#, no-wrap |
| 2744 |
msgid "BC_SCALE_MAX" |
| 2745 |
msgstr "BC_SCALE_MAX" |
| 2746 |
|
| 2747 |
#. type: Plain text |
| 2748 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2749 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2750 |
msgid "" |
| 2751 |
"The number of digits after the decimal point is limited to INT_MAX digits. " |
| 2752 |
"Also, the number of digits before the decimal point is limited to INT_MAX " |
| 2753 |
"digits." |
| 2754 |
msgstr "" |
| 2755 |
"El número de dígitos tras la coma decimal se limita a INT_MAX dígitos. De " |
| 2756 |
"igual manera, el número de dígitos delante de la coma decimal se limita a " |
| 2757 |
"INT_MAX dígitos." |
| 2758 |
|
| 2759 |
#. type: IP |
| 2760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2762 |
#, no-wrap |
| 2763 |
msgid "BC_STRING_MAX" |
| 2764 |
msgstr "BC_STRING_MAX" |
| 2765 |
|
| 2766 |
#. type: Plain text |
| 2767 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2768 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2769 |
msgid "" |
| 2770 |
"The limit on the number of characters in a string is INT_MAX characters." |
| 2771 |
msgstr "" |
| 2772 |
"El límite para el número de caracteres de una cadena es INT_MAX caracteres." |
| 2773 |
|
| 2774 |
#. type: IP |
| 2775 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2776 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2777 |
#, no-wrap |
| 2778 |
msgid "exponent" |
| 2779 |
msgstr "exponente" |
| 2780 |
|
| 2781 |
#. type: Plain text |
| 2782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2784 |
msgid "" |
| 2785 |
"The value of the exponent in the raise operation (^) is limited to LONG_MAX." |
| 2786 |
msgstr "" |
| 2787 |
"El valor del exponente en la operación potencia (^) esta limitado a LONG_MAX." |
| 2788 |
|
| 2789 |
#. type: IP |
| 2790 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2791 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2792 |
#, no-wrap |
| 2793 |
msgid "variable names" |
| 2794 |
msgstr "nombres de variables" |
| 2795 |
|
| 2796 |
#. type: Plain text |
| 2797 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2798 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2799 |
msgid "" |
| 2800 |
"The current limit on the number of unique names is 32767 for each of simple " |
| 2801 |
"variables, arrays and functions." |
| 2802 |
msgstr "" |
| 2803 |
"El límite actual para el número de nombres únicos de variables simples, " |
| 2804 |
"matrices y funciones es de 32767 para cada tipo." |
| 2805 |
|
| 2806 |
#. type: SH |
| 2807 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2808 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2809 |
#, no-wrap |
| 2810 |
msgid "ENVIRONMENT VARIABLES" |
| 2811 |
msgstr "VARIABLES DE ENTORNO" |
| 2812 |
|
| 2813 |
#. type: Plain text |
| 2814 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2815 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2816 |
msgid "The following environment variables are processed by B<bc>:" |
| 2817 |
msgstr "Las siguientes variables de entorno son procesadas por B<bc>:" |
| 2818 |
|
| 2819 |
#. type: IP |
| 2820 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2821 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2822 |
#, no-wrap |
| 2823 |
msgid "POSIXLY_CORRECT" |
| 2824 |
msgstr "POSIXLY_CORRECT" |
| 2825 |
|
| 2826 |
#. type: Plain text |
| 2827 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2828 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2829 |
msgid "This is the same as the B<-s> option." |
| 2830 |
msgstr "Esto es lo mismo que la opción B<-s>." |
| 2831 |
|
| 2832 |
#. type: IP |
| 2833 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2834 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2835 |
#, no-wrap |
| 2836 |
msgid "BC_ENV_ARGS" |
| 2837 |
msgstr "BC_ENV_ARGS" |
| 2838 |
|
| 2839 |
#. type: Plain text |
| 2840 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2841 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2842 |
msgid "" |
| 2843 |
"This is another mechanism to get arguments to B<bc>. The format is the same " |
| 2844 |
"as the command line arguments. These arguments are processed first, so any " |
| 2845 |
"files listed in the environment arguments are processed before any command " |
| 2846 |
"line argument files. This allows the user to set up \"standard\" options " |
| 2847 |
"and files to be processed at every invocation of B<bc>. The files in the " |
| 2848 |
"environment variables would typically contain function definitions for " |
| 2849 |
"functions the user wants defined every time B<bc> is run." |
| 2850 |
msgstr "" |
| 2851 |
"Este es otra forma de pasar argumentos a B<bc>. El formato es el mismo que " |
| 2852 |
"los argumentos de la línea de órdenes. Estos argumentos se procesan primero, " |
| 2853 |
"por lo que cualquier fichero presente en los argumentos de entorno es " |
| 2854 |
"procesado antes que cualquiera que aparezca en la línea de órdenes. Esto " |
| 2855 |
"permite al usuario establecer opciones \"estándar\" y los ficheros que serán " |
| 2856 |
"procesados en todas las invocaciones de B<bc>. Los ficheros listados en las " |
| 2857 |
"variables de entorno generalmente contendrán definiciones de funciones que " |
| 2858 |
"el usuario quiera tener definidas cada vez que ejecute B<bc>." |
| 2859 |
|
| 2860 |
#. type: IP |
| 2861 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2862 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2863 |
#, no-wrap |
| 2864 |
msgid "BC_LINE_LENGTH" |
| 2865 |
msgstr "BC_LINE_LENGTH" |
| 2866 |
|
| 2867 |
#. type: Plain text |
| 2868 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 2869 |
#: opensuse-tumbleweed |
| 2870 |
#, fuzzy |
| 2871 |
#| msgid "" |
| 2872 |
#| "This should be an integer specifing the number of characters in an output " |
| 2873 |
#| "line for numbers. This includes the backslash and newline characters for " |
| 2874 |
#| "long numbers." |
| 2875 |
msgid "" |
| 2876 |
"This should be an integer specifying the number of characters in an output " |
| 2877 |
"line for numbers. This includes the backslash and newline characters for " |
| 2878 |
"long numbers. As an extension, the value of zero disables the multi-line " |
| 2879 |
"feature. Any other value of this variable that is less than 3 sets the line " |
| 2880 |
"length to 70." |
| 2881 |
msgstr "" |
| 2882 |
"Este es un número que especifica el número de caracteres utilizados por los " |
| 2883 |
"números en una línea en la salida. Incluyendo los caracteres de contra-barra " |
| 2884 |
"y de salto de línea para los números largos." |
| 2885 |
|
| 2886 |
#. type: SH |
| 2887 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2888 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2889 |
#, no-wrap |
| 2890 |
msgid "DIAGNOSTICS" |
| 2891 |
msgstr "DIAGNÓSTICOS" |
| 2892 |
|
| 2893 |
#. type: Plain text |
| 2894 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2895 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2896 |
msgid "" |
| 2897 |
"If any file on the command line can not be opened, B<bc> will report that " |
| 2898 |
"the file is unavailable and terminate. Also, there are compile and run time " |
| 2899 |
"diagnostics that should be self-explanatory." |
| 2900 |
msgstr "" |
| 2901 |
"Si algún fichero dado en la línea de órdenes no se puede abrir, B<bc> " |
| 2902 |
"informará que el fichero no está disponible y terminará. Asimismo, hay " |
| 2903 |
"errores en tiempo de compilación y de ejecución que deberían ser auto-" |
| 2904 |
"explicativos." |
| 2905 |
|
| 2906 |
#. type: SH |
| 2907 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2908 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2909 |
#, no-wrap |
| 2910 |
msgid "BUGS" |
| 2911 |
msgstr "ERRORES" |
| 2912 |
|
| 2913 |
#. type: Plain text |
| 2914 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2915 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2916 |
msgid "Error recovery is not very good yet." |
| 2917 |
msgstr "La recuperación de errores no es muy buena todavía." |
| 2918 |
|
| 2919 |
#. type: Plain text |
| 2920 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2921 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2922 |
msgid "" |
| 2923 |
"Email bug reports to B<[email protected]>. Be sure to include the word ``bc'' " |
| 2924 |
"somewhere in the ``Subject:'' field." |
| 2925 |
msgstr "" |
| 2926 |
"Notifique cualquier error a B<[email protected]>. Compruebe que incluye la " |
| 2927 |
"palabra ``bc'' dentro del campo ``Asunto:'' (``Subject:'')." |
| 2928 |
|
| 2929 |
#. type: SH |
| 2930 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2931 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2932 |
#, no-wrap |
| 2933 |
msgid "AUTHOR" |
| 2934 |
msgstr "AUTOR" |
| 2935 |
|
| 2936 |
#. type: Plain text |
| 2937 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 2938 |
#: opensuse-tumbleweed |
| 2939 |
#, no-wrap |
| 2940 |
msgid "" |
| 2941 |
"Philip A. Nelson\n" |
| 2942 |
"[email protected]\n" |
| 2943 |
msgstr "" |
| 2944 |
"Philip A. Nelson\n" |
| 2945 |
"[email protected]\n" |
| 2946 |
|
| 2947 |
#. type: SH |
| 2948 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2949 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2950 |
#, no-wrap |
| 2951 |
msgid "ACKNOWLEDGEMENTS" |
| 2952 |
msgstr "RECONOCIMIENTOS" |
| 2953 |
|
| 2954 |
#. type: Plain text |
| 2955 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2956 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2957 |
msgid "" |
| 2958 |
"The author would like to thank Steve Sommars ([email protected]) for his " |
| 2959 |
"extensive help in testing the implementation. Many great suggestions were " |
| 2960 |
"given. This is a much better product due to his involvement." |
| 2961 |
msgstr "" |
| 2962 |
"El autor quisiera agradecer a Steve Sommars ([email protected]) su gran " |
| 2963 |
"ayuda probando la implementación. Me dio muchas sugerencias estupendas. Éste " |
| 2964 |
"es un producto mejor gracias a su implicación." |
| 2965 |
|
| 2966 |
#. type: TH |
| 2967 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 2968 |
#, no-wrap |
| 2969 |
msgid "2006-06-11" |
| 2970 |
msgstr "11 Junio 2006" |
| 2971 |
|
| 2972 |
#. type: Plain text |
| 2973 |
#: debian-trixie debian-unstable |
| 2974 |
msgid "" |
| 2975 |
"Numbers are stored in two types of variables, simple variables and arrays. " |
| 2976 |
"Both simple variables and array variables are named. Names begin with a " |
| 2977 |
"letter followed by any number of letters, digits and underscores. All " |
| 2978 |
"letters must be lower case. (Full alpha-numeric names are an extension. In " |
| 2979 |
"POSIX B<bc> all names are a single lower case letter.) The type of variable " |
| 2980 |
"is clear by the context because all array variable names will be followed by " |
| 2981 |
"brackets ([])." |
| 2982 |
msgstr "" |
| 2983 |
"Los números son almacenados en dos tipos de variables, variables simples y " |
| 2984 |
"matrices. Ambos tipos son designados por nombres. Estos nombres comienzan " |
| 2985 |
"con una letra, seguida por cualquier número de letras, dígitos y caracteres " |
| 2986 |
"de subrayado. Todas las letras deben ir en minúsculas. (Estos nombres " |
| 2987 |
"alfanuméricos son una ampliación. En el B<bc> de POSIX todos los nombres son " |
| 2988 |
"una sola letra minúscula). El tipo de variable queda claro según el " |
| 2989 |
"contexto ya que a todas las variables de tipo matriz les sigue unos " |
| 2990 |
"corchetes ([])." |
| 2991 |
|
| 2992 |
#. type: Plain text |
| 2993 |
#: debian-trixie debian-unstable |
| 2994 |
msgid "" |
| 2995 |
"There are four special variables, B<scale, ibase, obase,> and B<last>. " |
| 2996 |
"B<scale> defines how some operations use digits after the decimal point. " |
| 2997 |
"The default value of B<scale> is 0. B<ibase> and B<obase> define the " |
| 2998 |
"conversion base for input and output numbers. The default for both input " |
| 2999 |
"and output is base 10. B<last> (an extension) is a variable that has the " |
| 3000 |
"value of the last printed number. These will be discussed in further detail " |
| 3001 |
"where appropriate. All of these variables may have values assigned to them " |
| 3002 |
"as well as used in expressions." |
| 3003 |
msgstr "" |
| 3004 |
"Hay cuatro variables especiales, B<scale>, B<ibase>, B<obase> y B<last>. " |
| 3005 |
"B<scale> define como son tratadas los dígitos tras la coma decimal en " |
| 3006 |
"algunas operaciones. El valor por defecto de B<scale> es 0. B<ibase> y " |
| 3007 |
"B<obase> definen la base numérica de conversión para la entrada y la salida. " |
| 3008 |
"El valor por defecto para ambos es la base 10. B<last> (una ampliación) es " |
| 3009 |
"la variable en la que se guardar el último número mostrado. Todo esto será " |
| 3010 |
"tratado en detalle cuando proceda. Todas estas variables pueden tener un " |
| 3011 |
"valor asignado así como ser usadas en expresiones." |
| 3012 |
|
| 3013 |
#. type: Plain text |
| 3014 |
#: debian-trixie debian-unstable |
| 3015 |
#, fuzzy |
| 3016 |
#| msgid "" |
| 3017 |
#| "A simple expression is just a constant. B<bc> converts constants into " |
| 3018 |
#| "internal decimal numbers using the current input base, specified by the " |
| 3019 |
#| "variable B<ibase>. (There is an exception in functions.) The legal " |
| 3020 |
#| "values of B<ibase> are 2 through 16. Assigning a value outside this " |
| 3021 |
#| "range to B<ibase> will result in a value of 2 or 16. Input numbers may " |
| 3022 |
#| "contain the characters 0-9 and A-F. (Note: They must be capitals. Lower " |
| 3023 |
#| "case letters are variable names.) Single digit numbers always have the " |
| 3024 |
#| "value of the digit regardless of the value of B<ibase>. (i.e. A = 10.) " |
| 3025 |
#| "For multi-digit numbers, B<bc> changes all input digits greater or equal " |
| 3026 |
#| "to ibase to the value of B<ibase>-1. This makes the number B<FFF> always " |
| 3027 |
#| "be the largest 3 digit number of the input base." |
| 3028 |
msgid "" |
| 3029 |
"A simple expression is just a constant. B<bc> converts constants into " |
| 3030 |
"internal decimal numbers using the current input base, specified by the " |
| 3031 |
"variable B<ibase>. (There is an exception in functions.) The legal values " |
| 3032 |
"of B<ibase> are 2 through 36. (Bases greater than 16 are an extension.) " |
| 3033 |
"Assigning a value outside this range to B<ibase> will result in a value of 2 " |
| 3034 |
"or 36. Input numbers may contain the characters 0\\(en9 and A\\(enZ. (Note: " |
| 3035 |
"They must be capitals. Lower case letters are variable names.) Single " |
| 3036 |
"digit numbers always have the value of the digit regardless of the value of " |
| 3037 |
"B<ibase>. (i.e. A = 10.) For multi-digit numbers, B<bc> changes all input " |
| 3038 |
"digits greater or equal to ibase to the value of B<ibase>-1. This makes the " |
| 3039 |
"number B<ZZZ> always be the largest 3 digit number of the input base." |
| 3040 |
msgstr "" |
| 3041 |
"Una constante es la expresión más simple. B<bc> convierte internamente las " |
| 3042 |
"constantes en números decimales usando la base de entrada activa, " |
| 3043 |
"especificada por la variable B<ibase>. (Hay una excepción en las funciones). " |
| 3044 |
"Los valores permitidos para B<ibase> van del 2 hasta el 16. Si se asigna un " |
| 3045 |
"valor a B<ibase> fuera de este rango se cambiará por 2 ó 16. Los números en " |
| 3046 |
"la entrada pueden formarse con los caracteres 0-9 y A-F. (Nota: Deben ir en " |
| 3047 |
"mayúsculas. Las minúsculas son nombres de variables). Los números de un solo " |
| 3048 |
"dígito tienen siempre el valor del dígito, sea cual sea el valor de " |
| 3049 |
"B<ibase>. (ej. A = 10.). En los números de más de un dígito B<bc> cambia " |
| 3050 |
"todos los dígitos mayores o iguales a ibase al valor de B<ibase>-1. Esto " |
| 3051 |
"hace que el número B<FFF> sea siempre el mayor número de 3 dígitos de la " |
| 3052 |
"base de entrada." |
| 3053 |
|
| 3054 |
#. type: Plain text |
| 3055 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3056 |
msgid "" |
| 3057 |
"Full expressions are similar to many other high level languages. Since " |
| 3058 |
"there is only one kind of number, there are no rules for mixing types. " |
| 3059 |
"Instead, there are rules on the scale of expressions. Every expression has " |
| 3060 |
"a scale. This is derived from the scale of original numbers, the operation " |
| 3061 |
"performed and in many cases, the value of the variable B<scale>. Legal " |
| 3062 |
"values of the variable B<scale> are 0 to the maximum number representable by " |
| 3063 |
"a C integer." |
| 3064 |
msgstr "" |
| 3065 |
"Las expresiones más complejas son similares a muchos otros lenguajes de alto " |
| 3066 |
"nivel. Como solo hay un tipo de número, no hay reglas para mezclar tipos. En " |
| 3067 |
"cambio, hay reglas para la escala de las expresiones. Cada expresión tiene " |
| 3068 |
"una escala. Esta es derivada de la escala de los números originales, la " |
| 3069 |
"operación realizada y, en muchos casos, el valor de la variable B<scale>. " |
| 3070 |
"Los valores permitidos para B<scale> son desde 0 hasta el máximo número " |
| 3071 |
"representable por un entero en C." |
| 3072 |
|
| 3073 |
#. type: Plain text |
| 3074 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3075 |
msgid "" |
| 3076 |
"In the following descriptions of legal expressions, \"expr\" refers to a " |
| 3077 |
"complete expression and \"var\" refers to a simple or an array variable. A " |
| 3078 |
"simple variable is just a" |
| 3079 |
msgstr "" |
| 3080 |
"En las siguientes descripciones de expresiones permitidas, \"expr\" se usa " |
| 3081 |
"para indicar un expresión completa y \"var\" una variable, simple o " |
| 3082 |
"matricial. Una variable simple es, simplemente" |
| 3083 |
|
| 3084 |
#. type: Plain text |
| 3085 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3086 |
#, no-wrap |
| 3087 |
msgid "" |
| 3088 |
" The result of the expression is the value of\n" |
| 3089 |
"the variable and then the variable is incremented by one.\n" |
| 3090 |
msgstr "El resultado de la expresión es el valor de la variable y entonces la variable es incrementada en uno.\n" |
| 3091 |
|
| 3092 |
#. type: Plain text |
| 3093 |
#: debian-trixie debian-unstable |
| 3094 |
msgid "" |
| 3095 |
"The result of the expression is the value of the first raised to the " |
| 3096 |
"second. The second expression must be an integer. (If the second " |
| 3097 |
"expression is not an integer, a warning is generated and the expression is " |
| 3098 |
"truncated to get an integer value.) The scale of the result is B<scale> if " |
| 3099 |
"the exponent is negative. If the exponent is positive the scale of the " |
| 3100 |
"result is the minimum of the scale of the first expression times the value " |
| 3101 |
"of the exponent and the maximum of B<scale> and the scale of the first " |
| 3102 |
"expression. (e.g.\\& scale(a^b) = min(scale(a)*b, max( B<scale,> " |
| 3103 |
"scale(a))).) It should be noted that expr^0 will always return the value of " |
| 3104 |
"1." |
| 3105 |
msgstr "" |
| 3106 |
"El resultado de la expresión es el valor de la primera elevada a la segunda. " |
| 3107 |
"La segunda expresión debe ser un entero. (Si la segunda expresión no es un " |
| 3108 |
"entero, se genera un mensaje de advertencia y la expresión es truncada a un " |
| 3109 |
"valor entero). La escala del resultado es B<scale> si el exponente es " |
| 3110 |
"negativo. Si el exponente es positivo la escala del resultado es el mínimo " |
| 3111 |
"de estos valores: la escala de la base por el exponente o el máximo de " |
| 3112 |
"B<scale> y la escala de la base. (ej.\\& scale(a^b) = min(scale(a)*b, " |
| 3113 |
"max( B<scale>, scale(a))).). Hay que tener en cuenta que el resultado de " |
| 3114 |
"expr^0 siempre será 1." |
| 3115 |
|
| 3116 |
#. type: Plain text |
| 3117 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3118 |
msgid "" |
| 3119 |
"Relational expressions are a special kind of expression that always evaluate " |
| 3120 |
"to 0 or 1, 0 if the relation is false and 1 if the relation is true. These " |
| 3121 |
"may appear in any legal expression. (POSIX bc requires that relational " |
| 3122 |
"expressions are used only in if, while, and for statements and that only one " |
| 3123 |
"relational test may be done in them.) The relational operators are" |
| 3124 |
msgstr "" |
| 3125 |
"Las expresiones relacionales son de un tipo especial que siempre se evalúan " |
| 3126 |
"a 0 ó 1, 0 si la relación es falsa y 1 si la relación es verdadera. Pueden " |
| 3127 |
"aparecer en cualquier expresión permitida. (El B<bc> de POSIX solo permite " |
| 3128 |
"el uso de expresiones relacionales en las sentencias if, while y for y solo " |
| 3129 |
"una expresión relacional en cada una de ellas). Los operadores relacionales " |
| 3130 |
"son:" |
| 3131 |
|
| 3132 |
#. type: Plain text |
| 3133 |
#: debian-trixie debian-unstable |
| 3134 |
msgid "" |
| 3135 |
"Boolean operations are also legal. (POSIX B<bc> does NOT have boolean " |
| 3136 |
"operations). The result of all boolean operations are 0 and 1 (for false " |
| 3137 |
"and true) as in relational expressions. The boolean operators are:" |
| 3138 |
msgstr "" |
| 3139 |
"Las operaciones booleanas también están permitidas. (El B<bc> de POSIX NO " |
| 3140 |
"tiene operaciones booleanas). El resultado de toda operación booleana es 0 ó " |
| 3141 |
"1 (falso o verdadero) como en las expresiones relacionales. Los operadores " |
| 3142 |
"booleanos son:" |
| 3143 |
|
| 3144 |
#. type: Plain text |
| 3145 |
#: debian-trixie debian-unstable |
| 3146 |
msgid "" |
| 3147 |
"This precedence was chosen so that POSIX compliant B<bc> programs will run " |
| 3148 |
"correctly. This will cause the use of the relational and logical operators " |
| 3149 |
"to have some unusual behavior when used with assignment expressions. " |
| 3150 |
"Consider the expression:" |
| 3151 |
msgstr "" |
| 3152 |
"Esta precedencia fue elegida para que los programas acordes con el B<bc> de " |
| 3153 |
"POSIX funcionaran correctamente. Esto hará que el uso de operadores " |
| 3154 |
"relacionales y lógicos tenga un comportamiento inusual cuando se usen con " |
| 3155 |
"expresiones de asignación. Considere la expresión:" |
| 3156 |
|
| 3157 |
#. type: Plain text |
| 3158 |
#: debian-trixie debian-unstable |
| 3159 |
msgid "" |
| 3160 |
"There are a few more special expressions that are provided in B<bc>. These " |
| 3161 |
"have to do with user defined functions and standard functions. They all " |
| 3162 |
"appear as \"\\,I<name\\/>B<(\\,>I<parameters\\/>B<)>\". See the section on " |
| 3163 |
"functions for user defined functions. The standard functions are:" |
| 3164 |
msgstr "" |
| 3165 |
"Hay algunas expresiones especiales más en B<bc>. Estas están relacionadas " |
| 3166 |
"con las funciones definidas por el usuario y las funciones estándar. Tienen " |
| 3167 |
"la forma \"\\,I<nombre\\/>B<(\\,>I<parámetros\\/>B<)>\". Las funciones " |
| 3168 |
"definidas por el usuario son tratadas en la sección FUNCIONES. Las " |
| 3169 |
"funciones estándar son:" |
| 3170 |
|
| 3171 |
#. type: Plain text |
| 3172 |
#: debian-trixie debian-unstable |
| 3173 |
msgid "" |
| 3174 |
"Statements (as in most algebraic languages) provide the sequencing of " |
| 3175 |
"expression evaluation. In B<bc> statements are executed \"as soon as " |
| 3176 |
"possible.\" Execution happens when a newline in encountered and there is one " |
| 3177 |
"or more complete statements. Due to this immediate execution, newlines are " |
| 3178 |
"very important in B<bc>. In fact, both a semicolon and a newline are used " |
| 3179 |
"as statement separators. An improperly placed newline will cause a syntax " |
| 3180 |
"error. Because newlines are statement separators, it is possible to hide a " |
| 3181 |
"newline by using the backslash character. The sequence \"\\eE<lt>nlE<gt>\", " |
| 3182 |
"where E<lt>nlE<gt> is the newline appears to B<bc> as whitespace instead of " |
| 3183 |
"a newline. A statement list is a series of statements separated by " |
| 3184 |
"semicolons and newlines. The following is a list of B<bc> statements and " |
| 3185 |
"what they do: (Things enclosed in brackets ([]) are optional parts of the " |
| 3186 |
"statement.)" |
| 3187 |
msgstr "" |
| 3188 |
"Las sentencias (como en la mayoría de los lenguajes algebraicos) " |
| 3189 |
"proporcionan la secuencia de las evaluación de las expresiones. En B<bc> las " |
| 3190 |
"sentencias son ejecutadas \"tan pronto como es posible\". La ejecución " |
| 3191 |
"ocurre cuando se encuentra un cambio de línea y hay una o más sentencias " |
| 3192 |
"completas. Debido a esta ejecución inmediata, los cambios de línea son muy " |
| 3193 |
"importantes en B<bc>. En realidad, tanto el punto y coma como el cambio de " |
| 3194 |
"línea son usados como separadores de sentencias. Un cambio de línea en un " |
| 3195 |
"lugar inapropiado provocará un error de sintaxis. Es posible ocultar el que " |
| 3196 |
"un cambio de línea sea un separador de sentencias usando el carácter de " |
| 3197 |
"contra-barra. B<bc> toma la secuencia \"\\eE<lt>nlE<gt>\", donde " |
| 3198 |
"E<lt>nlE<gt> es el cambio de línea, como un espacio en blanco en lugar de " |
| 3199 |
"como un cambio de línea. Una lista de sentencias es una serie de sentencias " |
| 3200 |
"separadas por punto y coma y cambios de línea. Lo siguiente es un lista de " |
| 3201 |
"sentencias y la descripción de lo que realizan: (Las partes entre corchetes " |
| 3202 |
"de las sentencias son opcionales)." |
| 3203 |
|
| 3204 |
#. type: Plain text |
| 3205 |
#: debian-trixie debian-unstable |
| 3206 |
msgid "" |
| 3207 |
"This statement does one of two things. If the expression starts with " |
| 3208 |
"\"E<lt>variableE<gt> E<lt>assignmentE<gt> ...\", it is considered to be an " |
| 3209 |
"assignment statement. If the expression is not an assignment statement, the " |
| 3210 |
"expression is evaluated and printed to the output. After the number is " |
| 3211 |
"printed, a newline is printed. For example, \"a=1\" is an assignment " |
| 3212 |
"statement and \"(a=1)\" is an expression that has an embedded assignment. " |
| 3213 |
"All numbers that are printed are printed in the base specified by the " |
| 3214 |
"variable B<obase>. The legal values for B< obase> are 2 through " |
| 3215 |
"BC_BASE_MAX. (See the section LIMITS.) For bases 2 through 16, the usual " |
| 3216 |
"method of writing numbers is used. For bases greater than 16, B<bc> uses a " |
| 3217 |
"multi-character digit method of printing the numbers where each higher base " |
| 3218 |
"digit is printed as a base 10 number. The multi-character digits are " |
| 3219 |
"separated by spaces. Each digit contains the number of characters required " |
| 3220 |
"to represent the base ten value of \"obase-1\". Since numbers are of " |
| 3221 |
"arbitrary precision, some numbers may not be printable on a single output " |
| 3222 |
"line. These long numbers will be split across lines using the \"\\e\" as " |
| 3223 |
"the last character on a line. The maximum number of characters printed per " |
| 3224 |
"line is 70. Due to the interactive nature of B<bc>, printing a number " |
| 3225 |
"causes the side effect of assigning the printed value to the special " |
| 3226 |
"variable B<last>. This allows the user to recover the last value printed " |
| 3227 |
"without having to retype the expression that printed the number. Assigning " |
| 3228 |
"to B<last> is legal and will overwrite the last printed value with the " |
| 3229 |
"assigned value. The newly assigned value will remain until the next number " |
| 3230 |
"is printed or another value is assigned to B<last>. (Some installations may " |
| 3231 |
"allow the use of a single period (.\\&) which is not part of a number as a " |
| 3232 |
"short hand notation for for B<last>.)" |
| 3233 |
msgstr "" |
| 3234 |
"Esta sentencia hace una de estas dos cosas. Si la expresión comienza con " |
| 3235 |
"\"E<lt>variableE<gt> E<lt>asignaciónE<gt> ...\", es considerada como una " |
| 3236 |
"sentencia de asignación. Si no es una sentencia de asignación, la expresión " |
| 3237 |
"es evaluada e impresa en la salida. Tras el número viene un cambio de línea. " |
| 3238 |
"Por ejemplo, \"a=1\" es una sentencia de asignación y \"(a=1)\" es una " |
| 3239 |
"expresión que tiene una asignación incluida. Todos los números se imprimen " |
| 3240 |
"en la base especificada por la variable B<obase>. Los valores posibles para " |
| 3241 |
"B<obase> van desde 2 hasta BC_BASE_MAX. (Ver sección LÍMITES). Para las " |
| 3242 |
"bases comprendidas entre 2 y 16, se usa el método usual de impresión. Para " |
| 3243 |
"las bases mayores de 16, B<bc> usa un método de impresión en el que utiliza " |
| 3244 |
"dígitos multi-carácter para imprimir cada dígito mayor que la base como un " |
| 3245 |
"número en base 10. Los dígitos multi-carácter son separados por espacios. " |
| 3246 |
"Cada dígito emplea tantos caracteres como sean necesarios para representar " |
| 3247 |
"\"obase-1\" en base diez. Como los números son de precisión arbitraria, " |
| 3248 |
"puede que algunos números no se puedan imprimir en una sola línea. Estos " |
| 3249 |
"números grandes serán repartidos en varias líneas con el carácter \"\\e\" al " |
| 3250 |
"final de cada línea. El número máximo de caracteres que se imprimen por " |
| 3251 |
"línea es 70. Debido a la naturaleza interactiva de B<bc>, la impresión de un " |
| 3252 |
"número lleva consigo la asignación del valor impreso a la variable especial " |
| 3253 |
"B<last>. Esto permite al usuario utilizar el último valor impreso sin tener " |
| 3254 |
"que volver a teclear la expresión que causó su impresión. Está permitido " |
| 3255 |
"asignar valores a B<last> y esto sobreescribirá el último valor impreso con " |
| 3256 |
"el valor asignado. El nuevo valor permanecerá hasta que se imprima el " |
| 3257 |
"siguiente número o se le asigne otro valor a B<last>. (Algunas instalaciones " |
| 3258 |
"pueden permitir usar un punto (.\\&) que no sea parte de un número como una " |
| 3259 |
"notación más corta para B<last>)." |
| 3260 |
|
| 3261 |
#. type: Plain text |
| 3262 |
#: debian-trixie debian-unstable |
| 3263 |
msgid "" |
| 3264 |
"The print statement (an extension) provides another method of output. The " |
| 3265 |
"\"list\" is a list of strings and expressions separated by commas. Each " |
| 3266 |
"string or expression is printed in the order of the list. No terminating " |
| 3267 |
"newline is printed. Expressions are evaluated and their value is printed " |
| 3268 |
"and assigned to the variable B<last>. Strings in the print statement are " |
| 3269 |
"printed to the output and may contain special characters. Special " |
| 3270 |
"characters start with the backslash character (\\e). The special characters " |
| 3271 |
"recognized by B<bc> are \"a\" (alert or bell), \"b\" (backspace), \"f\" " |
| 3272 |
"(form feed), \"n\" (newline), \"r\" (carriage return), \"q\" (double quote), " |
| 3273 |
"\"t\" (tab), and \"\\e\" (backslash). Any other character following the " |
| 3274 |
"backslash will be ignored." |
| 3275 |
msgstr "" |
| 3276 |
"La sentencia print (una ampliación) proporciona otro método de impresión. " |
| 3277 |
"La \"lista\" es una lista de cadenas y expresiones separadas por comas. La " |
| 3278 |
"lista se imprime en el orden en el que está. Tras la lista no se cambia de " |
| 3279 |
"línea. Las expresiones son evaluadas y sus valores impresos y asignados a la " |
| 3280 |
"variable B<last>. Las cadenas se imprimen en la salida y pueden contener " |
| 3281 |
"caracteres especiales. Los caracteres especiales comienzan con el carácter " |
| 3282 |
"de contra-barra (\\e). B<bc> reconoce los caracteres especiales \"a\" " |
| 3283 |
"(alerta o campana), \"b\" (borrar carácter (backspace)), \"f\" (salto de " |
| 3284 |
"línea), \"n\" (nueva línea), \"r\" (retorno de carro), \"q\" (comilla " |
| 3285 |
"doble), \"t\" (tabulador), y \"\\e\" (contra-barra). Cualquier otro carácter " |
| 3286 |
"que siga a una contra-barra será ignorado." |
| 3287 |
|
| 3288 |
#. type: Plain text |
| 3289 |
#: debian-trixie debian-unstable |
| 3290 |
msgid "" |
| 3291 |
"The for statement controls repeated execution of the statement. Expression1 " |
| 3292 |
"is evaluated before the loop. Expression2 is evaluated before each " |
| 3293 |
"execution of the statement. If it is non-zero, the statement is evaluated. " |
| 3294 |
"If it is zero, the loop is terminated. After each execution of the " |
| 3295 |
"statement, expression3 is evaluated before the reevaluation of expression2. " |
| 3296 |
"If expression1 or expression3 are missing, nothing is evaluated at the point " |
| 3297 |
"they would be evaluated. If expression2 is missing, it is the same as " |
| 3298 |
"substituting the value 1 for expression2. (The optional expressions are an " |
| 3299 |
"extension. POSIX B<bc> requires all three expressions.) The following is " |
| 3300 |
"equivalent code for the for statement:" |
| 3301 |
msgstr "" |
| 3302 |
"La sentencia for controla la ejecución repetitiva de la sentencia. La " |
| 3303 |
"expresión1 es evaluada antes del bucle. La expresión2 es evaluada antes de " |
| 3304 |
"cada ejecución de la sentencia. Si es 0, el bucle termina. Después de cada " |
| 3305 |
"ejecución de la sentencia, se evalúa la expresión3 antes de reevaluar la " |
| 3306 |
"expresión2. Si la expresión1 o la expresión3 no se dan, no se evalúa nada en " |
| 3307 |
"su lugar. Si la expresión2 no se da, es lo mismo que sustituirla por el " |
| 3308 |
"valor 1. (El que las expresiones sean opcionales es una ampliación. El B<bc> " |
| 3309 |
"de POSIX requiere las tres expresiones). Este es el código equivalente para " |
| 3310 |
"la sentencia for:" |
| 3311 |
|
| 3312 |
#. type: Plain text |
| 3313 |
#: debian-trixie debian-unstable |
| 3314 |
msgid "" |
| 3315 |
"The continue statement (an extension) causes the most recent enclosing for " |
| 3316 |
"statement to start the next iteration." |
| 3317 |
msgstr "" |
| 3318 |
"La sentencia continue (una ampliación) provoca que la sentencia for más " |
| 3319 |
"reciente comience una nueva iteración." |
| 3320 |
|
| 3321 |
#. type: Plain text |
| 3322 |
#: debian-trixie debian-unstable |
| 3323 |
msgid "" |
| 3324 |
"A function call is just an expression of the form \"\\,I<name\\/" |
| 3325 |
">B<(\\,>I<parameters\\/>B<)>\"." |
| 3326 |
msgstr "" |
| 3327 |
"La ejecución de una función es simplemente una expresión de la forma " |
| 3328 |
"\"\\,I<nombre\\/>B<(\\,>I<parámetros\\/>B<)>\"." |
| 3329 |
|
| 3330 |
#. type: Plain text |
| 3331 |
#: debian-trixie debian-unstable |
| 3332 |
#, fuzzy |
| 3333 |
#| msgid "" |
| 3334 |
#| "Parameters are numbers or arrays (an extension). In the function " |
| 3335 |
#| "definition, zero or more parameters are defined by listing their names " |
| 3336 |
#| "separated by commas. Numbers are only call by value parameters. Arrays " |
| 3337 |
#| "are only call by variable. Arrays are specified in the parameter " |
| 3338 |
#| "definition by the notation \"I<name>B<[]>\". In the function call, " |
| 3339 |
#| "actual parameters are full expressions for number parameters. The same " |
| 3340 |
#| "notation is used for passing arrays as for defining array parameters. " |
| 3341 |
#| "The named array is passed by variable to the function. Since function " |
| 3342 |
#| "definitions are dynamic, parameter numbers and types are checked when a " |
| 3343 |
#| "function is called. Any mismatch in number or types of parameters will " |
| 3344 |
#| "cause a runtime error. A runtime error will also occur for the call to " |
| 3345 |
#| "an undefined function." |
| 3346 |
msgid "" |
| 3347 |
"Parameters are numbers or arrays (an extension). In the function " |
| 3348 |
"definition, zero or more parameters are defined by listing their names " |
| 3349 |
"separated by commas. All parameters are call by value parameters. Arrays " |
| 3350 |
"are specified in the parameter definition by the notation \"\\,I<name\\/" |
| 3351 |
">B<[]>\". In the function call, actual parameters are full expressions for " |
| 3352 |
"number parameters. The same notation is used for passing arrays as for " |
| 3353 |
"defining array parameters. The named array is passed by value to the " |
| 3354 |
"function. Since function definitions are dynamic, parameter numbers and " |
| 3355 |
"types are checked when a function is called. Any mismatch in number or " |
| 3356 |
"types of parameters will cause a runtime error. A runtime error will also " |
| 3357 |
"occur for the call to an undefined function." |
| 3358 |
msgstr "" |
| 3359 |
"Los parámetros son números o matrices (una ampliación). En la definición de " |
| 3360 |
"la función, se definen cero o más parámetros listando sus nombres separados " |
| 3361 |
"por comas. Los números son llamados por valor. Las matrices son llamadas por " |
| 3362 |
"variable. Las matrices se especifican en la definición de parámetros " |
| 3363 |
"mediante la notación \"I<name>B<[]>\". En la llamada a la función, los " |
| 3364 |
"parámetros son expresiones completas para los parámetros que son números. " |
| 3365 |
"Se usa la misma notación para pasar matrices que para definirlas en los " |
| 3366 |
"parámetros. El nombre de la matriz se pasa a la función por variable. Como " |
| 3367 |
"las definiciones de las funciones son dinámicas, el número de parámetros y " |
| 3368 |
"los tipos se comprueban en el momento de llamar a la función. Cualquier " |
| 3369 |
"discrepancia en el número o en el tipo de los parámetros provocará un error " |
| 3370 |
"en tiempo de ejecución. También se provocará un error al llamar a una " |
| 3371 |
"función no definida." |
| 3372 |
|
| 3373 |
#. type: Plain text |
| 3374 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3375 |
msgid "" |
| 3376 |
"Several extensions have been added to functions. First, the format of the " |
| 3377 |
"definition has been slightly relaxed. The standard requires the opening " |
| 3378 |
"brace be on the same line as the B<define> keyword and all other parts must " |
| 3379 |
"be on following lines. This version of B<bc> will allow any number of " |
| 3380 |
"newlines before and after the opening brace of the function. For example, " |
| 3381 |
"the following definitions are legal." |
| 3382 |
msgstr "" |
| 3383 |
|
| 3384 |
#. type: Plain text |
| 3385 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3386 |
#, no-wrap |
| 3387 |
msgid "" |
| 3388 |
"CW<\n" |
| 3389 |
"define d (n) { return (2*n); }\n" |
| 3390 |
"define d (n)\n" |
| 3391 |
" { return (2*n); }>\n" |
| 3392 |
"\n" |
| 3393 |
msgstr "" |
| 3394 |
"CW<\n" |
| 3395 |
"define d (n) { return (2*n); }>\n" |
| 3396 |
"CW<define d (n)>\n" |
| 3397 |
"CW< { return (2*n); }>\n" |
| 3398 |
"\n" |
| 3399 |
|
| 3400 |
#. type: Plain text |
| 3401 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3402 |
#, no-wrap |
| 3403 |
msgid "" |
| 3404 |
"CW<\n" |
| 3405 |
"define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }\n" |
| 3406 |
"define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }\n" |
| 3407 |
"py(1)\n" |
| 3408 |
"---E<gt>1E<lt>---\n" |
| 3409 |
"0\n" |
| 3410 |
"px(1)\n" |
| 3411 |
"---E<gt>1E<lt>--->\n" |
| 3412 |
"\n" |
| 3413 |
msgstr "" |
| 3414 |
"CW<\n" |
| 3415 |
"define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }>\n" |
| 3416 |
"CW<define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }>\n" |
| 3417 |
"CW<py(1)>\n" |
| 3418 |
"CW<---E<gt>1E<lt>--->\n" |
| 3419 |
"CW<0>\n" |
| 3420 |
"CW<px(1)>\n" |
| 3421 |
"CW<---E<gt>1E<lt>--->\n" |
| 3422 |
"\n" |
| 3423 |
|
| 3424 |
#. type: Plain text |
| 3425 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3426 |
msgid "" |
| 3427 |
"Since B<py> is not a void function, the call of B<py(1)> prints the desired " |
| 3428 |
"output and then prints a second line that is the value of the function. " |
| 3429 |
"Since the value of a function that is not given an explicit return statement " |
| 3430 |
"is zero, the zero is printed. For B<px(1)>, no zero is printed because the " |
| 3431 |
"function is a void function." |
| 3432 |
msgstr "" |
| 3433 |
|
| 3434 |
#. type: Plain text |
| 3435 |
#: debian-trixie debian-unstable |
| 3436 |
msgid "" |
| 3437 |
"Also, call by variable for arrays was added. To declare a call by variable " |
| 3438 |
"array, the declaration of the array parameter in the function definition " |
| 3439 |
"looks like \"\\,I<*name\\/>B<[]>\". The call to the function remains the " |
| 3440 |
"same as call by value arrays." |
| 3441 |
msgstr "" |
| 3442 |
|
| 3443 |
#. type: IP |
| 3444 |
#: debian-trixie debian-unstable |
| 3445 |
#, no-wrap |
| 3446 |
msgid "s (\\,I<x\\/>)" |
| 3447 |
msgstr "s (\\,I<x\\/>)" |
| 3448 |
|
| 3449 |
#. type: IP |
| 3450 |
#: debian-trixie debian-unstable |
| 3451 |
#, no-wrap |
| 3452 |
msgid "c (\\,I<x\\/>)" |
| 3453 |
msgstr "c (\\,I<x\\/>)" |
| 3454 |
|
| 3455 |
#. type: IP |
| 3456 |
#: debian-trixie debian-unstable |
| 3457 |
#, no-wrap |
| 3458 |
msgid "a (\\,I<x\\/>)" |
| 3459 |
msgstr "a (\\,I<x\\/>)" |
| 3460 |
|
| 3461 |
#. type: IP |
| 3462 |
#: debian-trixie debian-unstable |
| 3463 |
#, no-wrap |
| 3464 |
msgid "l (\\,I<x\\/>)" |
| 3465 |
msgstr "l (\\,I<x\\/>)" |
| 3466 |
|
| 3467 |
#. type: IP |
| 3468 |
#: debian-trixie debian-unstable |
| 3469 |
#, no-wrap |
| 3470 |
msgid "e (\\,I<x\\/>)" |
| 3471 |
msgstr "e (\\,I<x\\/>)" |
| 3472 |
|
| 3473 |
#. type: IP |
| 3474 |
#: debian-trixie debian-unstable |
| 3475 |
#, no-wrap |
| 3476 |
msgid "j (\\,I<n,x\\/>)" |
| 3477 |
msgstr "j (\\,I<n,x\\/>)" |
| 3478 |
|
| 3479 |
#. type: Plain text |
| 3480 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3481 |
msgid "CW< pi=$(echo \"scale=10; 4*a(1)\" | bc -l)>" |
| 3482 |
msgstr "CW< pi=$(echo \"scale=10; 4*a(1)\" | bc -l)>" |
| 3483 |
|
| 3484 |
#. type: Plain text |
| 3485 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3486 |
#, no-wrap |
| 3487 |
msgid "" |
| 3488 |
"CW<\n" |
| 3489 |
"scale = 20>\n" |
| 3490 |
msgstr "" |
| 3491 |
"CW<\n" |
| 3492 |
"scale = 20>\n" |
| 3493 |
|
| 3494 |
#. type: Plain text |
| 3495 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3496 |
#, no-wrap |
| 3497 |
msgid "" |
| 3498 |
"CW</* Uses the fact that e^x = (e^(x/2))^2\n" |
| 3499 |
" When x is small enough, we use the series:\n" |
| 3500 |
" e^x = 1 + x + x^2/2! + x^3/3! + ...\n" |
| 3501 |
"*/>\n" |
| 3502 |
msgstr "" |
| 3503 |
"CW</* Usa el hecho de que e^x = (e^(x/2))^2>\n" |
| 3504 |
"CW< Si x es lo suficientemente pequeño, se usa la serie:>\n" |
| 3505 |
"CW< e^x = 1 + x + x^2/2! + x^3/3! + ...>\n" |
| 3506 |
"CW<*/>\n" |
| 3507 |
|
| 3508 |
#. type: Plain text |
| 3509 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3510 |
#, no-wrap |
| 3511 |
msgid "" |
| 3512 |
"CW<define e(x) {\n" |
| 3513 |
" auto a, d, e, f, i, m, v, z>\n" |
| 3514 |
msgstr "" |
| 3515 |
"CW<define e(x) {>\n" |
| 3516 |
"CW< auto a, d, e, f, i, m, v, z>\n" |
| 3517 |
|
| 3518 |
#. type: Plain text |
| 3519 |
#: debian-trixie debian-unstable |
| 3520 |
#, no-wrap |
| 3521 |
msgid "" |
| 3522 |
"CW< /* Check the sign of x. */\n" |
| 3523 |
" if (xE<lt>0) {\n" |
| 3524 |
" m = 1\n" |
| 3525 |
" x = -x\n" |
| 3526 |
" }>\n" |
| 3527 |
msgstr "" |
| 3528 |
"CW< /* Comprueba el signo de x. */>\n" |
| 3529 |
"CW< if (xE<lt>0) {>\n" |
| 3530 |
"CW< m = 1>\n" |
| 3531 |
"CW< x = -x>\n" |
| 3532 |
"CW< }>\n" |
| 3533 |
|
| 3534 |
#. type: Plain text |
| 3535 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3536 |
#, no-wrap |
| 3537 |
msgid "" |
| 3538 |
"CW< /* Precondition x. */\n" |
| 3539 |
" z = scale;\n" |
| 3540 |
" scale = 4 + z + .44*x;\n" |
| 3541 |
" while (x E<gt> 1) {\n" |
| 3542 |
" f += 1;\n" |
| 3543 |
" x /= 2;\n" |
| 3544 |
" }>\n" |
| 3545 |
msgstr "" |
| 3546 |
"CW< /* Precondición x. */>\n" |
| 3547 |
"CW< z = scale;>\n" |
| 3548 |
"CW< scale = 4 + z + .44*x;>\n" |
| 3549 |
"CW< while (x E<gt> 1) {>\n" |
| 3550 |
"CW< f += 1;>\n" |
| 3551 |
"CW< x /= 2;>\n" |
| 3552 |
"CW< }>\n" |
| 3553 |
|
| 3554 |
#. type: Plain text |
| 3555 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3556 |
#, no-wrap |
| 3557 |
msgid "" |
| 3558 |
"CW< /* Initialize the variables. */\n" |
| 3559 |
" v = 1+x\n" |
| 3560 |
" a = x\n" |
| 3561 |
" d = 1>\n" |
| 3562 |
msgstr "" |
| 3563 |
"CW< /* Inicialización de las variables. */>\n" |
| 3564 |
"CW< v = 1+x>\n" |
| 3565 |
"CW< a = x>\n" |
| 3566 |
"CW< d = 1>\n" |
| 3567 |
|
| 3568 |
#. type: Plain text |
| 3569 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3570 |
#, no-wrap |
| 3571 |
msgid "" |
| 3572 |
"CW< for (i=2; 1; i++) {\n" |
| 3573 |
" e = (a *= x) / (d *= i)\n" |
| 3574 |
" if (e == 0) {\n" |
| 3575 |
" if (fE<gt>0) while (f--) v = v*v;\n" |
| 3576 |
" scale = z\n" |
| 3577 |
" if (m) return (1/v);\n" |
| 3578 |
" return (v/1);\n" |
| 3579 |
" }\n" |
| 3580 |
" v += e\n" |
| 3581 |
" }\n" |
| 3582 |
"}>\n" |
| 3583 |
"\n" |
| 3584 |
msgstr "" |
| 3585 |
"CW< for (i=2; 1; i++) {>\n" |
| 3586 |
"CW< e = (a *= x) / (d *= i)>\n" |
| 3587 |
"CW< if (e == 0) {>\n" |
| 3588 |
"CW< if (fE<gt>0) while (f--) v = v*v;>\n" |
| 3589 |
"CW< scale = z>\n" |
| 3590 |
"CW< if (m) return (1/v);>\n" |
| 3591 |
"CW< return (v/1);>\n" |
| 3592 |
"CW< }>\n" |
| 3593 |
"CW< v += e>\n" |
| 3594 |
"CW< }>\n" |
| 3595 |
"CW<}>\n" |
| 3596 |
"\n" |
| 3597 |
|
| 3598 |
#. type: Plain text |
| 3599 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3600 |
#, no-wrap |
| 3601 |
msgid "" |
| 3602 |
"CW<\n" |
| 3603 |
"scale=2\n" |
| 3604 |
"print \"\\enCheck book program!\\en\"\n" |
| 3605 |
"print \" Remember, deposits are negative transactions.\\en\"\n" |
| 3606 |
"print \" Exit by a 0 transaction.\\en\\en\">\n" |
| 3607 |
msgstr "" |
| 3608 |
"CW<\n" |
| 3609 |
"scale=2>\n" |
| 3610 |
"CW<print \"\\en¡Programa de balances!\\en\">\n" |
| 3611 |
"CW<print \" Recuerde, los depósitos son transacciones negativas.\\en\">\n" |
| 3612 |
"CW<print \" Para salir introducir una transacción 0 .\\en\\en\">\n" |
| 3613 |
|
| 3614 |
#. type: Plain text |
| 3615 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3616 |
#, no-wrap |
| 3617 |
msgid "" |
| 3618 |
"CW<print \"Initial balance? \"; bal = read()\n" |
| 3619 |
"bal /= 1\n" |
| 3620 |
"print \"\\en\"\n" |
| 3621 |
"while (1) {\n" |
| 3622 |
" \"current balance = \"; bal\n" |
| 3623 |
" \"transaction? \"; trans = read()\n" |
| 3624 |
" if (trans == 0) break;\n" |
| 3625 |
" bal -= trans\n" |
| 3626 |
" bal /= 1\n" |
| 3627 |
"}\n" |
| 3628 |
"quit>\n" |
| 3629 |
"\n" |
| 3630 |
msgstr "" |
| 3631 |
"CW<print \"¿ Balance inicial ? \"; bal = read()>\n" |
| 3632 |
"CW<bal /= 1>\n" |
| 3633 |
"CW<print \"\\en\">\n" |
| 3634 |
"CW<while (1) {>\n" |
| 3635 |
"CW< \"Balance actual = \"; bal>\n" |
| 3636 |
"CW< \"¿ transacción ? \"; trans = read()>\n" |
| 3637 |
"CW< if (trans == 0) break;>\n" |
| 3638 |
"CW< bal -= trans>\n" |
| 3639 |
"CW< bal /= 1>\n" |
| 3640 |
"CW<}>\n" |
| 3641 |
"CW<quit>\n" |
| 3642 |
"\n" |
| 3643 |
|
| 3644 |
#. type: Plain text |
| 3645 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3646 |
#, no-wrap |
| 3647 |
msgid "" |
| 3648 |
"CW<\n" |
| 3649 |
"define f (x) {\n" |
| 3650 |
" if (x E<lt>= 1) return (1);\n" |
| 3651 |
" return (f(x-1) * x);\n" |
| 3652 |
"}>\n" |
| 3653 |
"\n" |
| 3654 |
msgstr "" |
| 3655 |
"CW<\n" |
| 3656 |
"define f (x) {>\n" |
| 3657 |
"CW< if (x E<lt>= 1) return (1);>\n" |
| 3658 |
"CW< return (f(x-1) * x);>\n" |
| 3659 |
"CW<}>\n" |
| 3660 |
"\n" |
| 3661 |
|
| 3662 |
#. type: Plain text |
| 3663 |
#: debian-trixie debian-unstable |
| 3664 |
#, fuzzy |
| 3665 |
#| msgid "" |
| 3666 |
#| "GNU B<bc> can be compiled (via a configure option) to use the GNU " |
| 3667 |
#| "B<readline> input editor library. This allows the user to do more " |
| 3668 |
#| "editing of lines before sending them to B<bc>. It also allows for a " |
| 3669 |
#| "history of previous lines typed. When this option is selected, B<bc> has " |
| 3670 |
#| "one more special variable. This special variable, B<history> is the " |
| 3671 |
#| "number of lines of history retained. A value of -1 means that an " |
| 3672 |
#| "unlimited number of history lines are retained. This is the default " |
| 3673 |
#| "value. Setting the value of B<history> to a positive number restricts " |
| 3674 |
#| "the number of history lines to the number given. The value of 0 disables " |
| 3675 |
#| "the history feature. For more information, read the user manuals for the " |
| 3676 |
#| "GNU B<readline> and B<history> libraries." |
| 3677 |
msgid "" |
| 3678 |
"GNU B<bc> can be compiled (via a configure option) to use the GNU " |
| 3679 |
"B<readline> input editor library or the BSD B<libedit> library. This allows " |
| 3680 |
"the user to do editing of lines before sending them to B<bc>. It also " |
| 3681 |
"allows for a history of previous lines typed. When this option is selected, " |
| 3682 |
"B<bc> has one more special variable. This special variable, B<history> is " |
| 3683 |
"the number of lines of history retained. For B<readline>, a value of -1 " |
| 3684 |
"means that an unlimited number of history lines are retained. Setting the " |
| 3685 |
"value of B<history> to a positive number restricts the number of history " |
| 3686 |
"lines to the number given. The value of 0 disables the history feature. " |
| 3687 |
"The default value is 100. For more information, read the user manuals for " |
| 3688 |
"the GNU B<readline>, B<history> and BSD B<libedit> libraries. One can not " |
| 3689 |
"enable both B<readline> and B<libedit> at the same time." |
| 3690 |
msgstr "" |
| 3691 |
"El B<bc> de GNU se puede compilar (mediante una opción de configuración) " |
| 3692 |
"para usar la biblioteca de entrada B<readline> de GNU. Esto permite al " |
| 3693 |
"usuario mayor posibilidad de edición de las líneas antes de mandarlas a " |
| 3694 |
"B<bc>. También permite tener un histórico de las líneas previamente " |
| 3695 |
"introducidas. Cuando se selecciona esta opción, B<bc> tiene una variable " |
| 3696 |
"especial más. Esta variable especial, B<history> es el número de líneas que " |
| 3697 |
"se guardan en el histórico. Un valor de -1 significa que este número es " |
| 3698 |
"ilimitado. Este es el valor por defecto. Dando un valor positivo a " |
| 3699 |
"B<history> se restringe el número de líneas a este valor. El valor 0 " |
| 3700 |
"desactiva el histórico. Para más información, leer los manuales de usuario " |
| 3701 |
"de las bibliotecas B<readline> y B<history> de GNU." |
| 3702 |
|
| 3703 |
#. type: Plain text |
| 3704 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3705 |
msgid "" |
| 3706 |
"This version of B<bc> was implemented from the POSIX P1003.2/D11 draft and " |
| 3707 |
"contains several differences and extensions relative to the draft and " |
| 3708 |
"traditional implementations. It is not implemented in the traditional way " |
| 3709 |
"using I<dc(1).> This version is a single process which parses and runs a " |
| 3710 |
"byte code translation of the program. There is an \"undocumented\" option (-" |
| 3711 |
"c) that causes the program to output the byte code to the standard output " |
| 3712 |
"instead of running it. It was mainly used for debugging the parser and " |
| 3713 |
"preparing the math library." |
| 3714 |
msgstr "" |
| 3715 |
"Esta versión de B<bc> fue implementada a partir del borrador POSIX P1003.2/" |
| 3716 |
"D11 y contiene varias diferencias y ampliaciones respecto a este borrador y " |
| 3717 |
"las implementaciones tradicionales. No está implementada usando I<dc(1)> " |
| 3718 |
"como suele ser tradicional. Esta versión es un simple proceso que analiza el " |
| 3719 |
"programa y ejecuta una traducción de este a un código de bytes (byte code). " |
| 3720 |
"Hay una opción \"indocumentada\" (-c) que hace que el programa imprima en la " |
| 3721 |
"salida estándar este código en lugar de ejecutarlo. Fue usada principalmente " |
| 3722 |
"para depurar el analizador y preparar la biblioteca matemática." |
| 3723 |
|
| 3724 |
#. type: Plain text |
| 3725 |
#: debian-trixie debian-unstable |
| 3726 |
msgid "" |
| 3727 |
"POSIX B<bc> does not have a B<last> variable. Some implementations of B<bc> " |
| 3728 |
"use the period (.\\&) in a similar way." |
| 3729 |
msgstr "" |
| 3730 |
"En el B<bc> de POSIX no existe la variable B<last>. Algunas implementaciones " |
| 3731 |
"de B<bc> usan el punto (.\\&) de manera similar." |
| 3732 |
|
| 3733 |
#. type: Plain text |
| 3734 |
#: debian-trixie debian-unstable |
| 3735 |
msgid "POSIX B<bc> does not have a print statement." |
| 3736 |
msgstr "El B<bc> de POSIX no tiene la sentencia print." |
| 3737 |
|
| 3738 |
#. type: Plain text |
| 3739 |
#: debian-trixie debian-unstable opensuse-leap-16-1 |
| 3740 |
msgid "" |
| 3741 |
"The maximum output base is currently set at 999. The maximum input base is " |
| 3742 |
"16." |
| 3743 |
msgstr "" |
| 3744 |
"La máxima base de salida se inicializa actualmente a 999. La base máxima de " |
| 3745 |
"entrada es 16." |
| 3746 |
|
| 3747 |
#. type: Plain text |
| 3748 |
#: debian-trixie debian-unstable |
| 3749 |
#, fuzzy |
| 3750 |
#| msgid "" |
| 3751 |
#| "This should be an integer specifing the number of characters in an output " |
| 3752 |
#| "line for numbers. This includes the backslash and newline characters for " |
| 3753 |
#| "long numbers." |
| 3754 |
msgid "" |
| 3755 |
"This should be an integer specifying the number of characters in an output " |
| 3756 |
"line for numbers. This includes the backslash and newline characters for " |
| 3757 |
"long numbers. As an extension, the value of zero disables the multi-line " |
| 3758 |
"feature. Any other value of this variable that is less than 3 sets the line " |
| 3759 |
"length to 70." |
| 3760 |
msgstr "" |
| 3761 |
"Este es un número que especifica el número de caracteres utilizados por los " |
| 3762 |
"números en una línea en la salida. Incluyendo los caracteres de contra-barra " |
| 3763 |
"y de salto de línea para los números largos." |
| 3764 |
|
| 3765 |
#. type: Plain text |
| 3766 |
#: debian-trixie debian-unstable |
| 3767 |
#, no-wrap |
| 3768 |
msgid "" |
| 3769 |
"Philip A.\\& Nelson\n" |
| 3770 |
"[email protected]\n" |
| 3771 |
msgstr "" |
| 3772 |
"Philip A.\\& Nelson\n" |
| 3773 |
"[email protected]\n" |
| 3774 |
|
| 3775 |
#. type: Plain text |
| 3776 |
#: fedora-44 fedora-rawhide |
| 3777 |
#, fuzzy |
| 3778 |
#| msgid "" |
| 3779 |
#| "The result of the expression is the quotient of the two expressions. The " |
| 3780 |
#| "scale of the result is the value of the variable B<scale>." |
| 3781 |
msgid "" |
| 3782 |
"The result of the expression is the product of the two expressions. If a " |
| 3783 |
"and b are the scales of the two expressions, then the scale of the result " |
| 3784 |
"is: min(a+b,max(scale,a,b))" |
| 3785 |
msgstr "" |
| 3786 |
"El resultado de la expresión es el cociente de las dos expresiones. La " |
| 3787 |
"escala del resultado es el valor de la variable B<scale>." |
| 3788 |
|
| 3789 |
#. type: Plain text |
| 3790 |
#: opensuse-leap-16-1 |
| 3791 |
msgid "" |
| 3792 |
"Numbers are stored in two types of variables, simple variables and arrays. " |
| 3793 |
"Both simple variables and array variables are named. Names begin with a " |
| 3794 |
"letter followed by any number of letters, digits and underscores. All " |
| 3795 |
"letters must be lower case. (Full alpha-numeric names are an extension. In " |
| 3796 |
"POSIX B<bc> all names are a single lower case letter.) The type of variable " |
| 3797 |
"is clear by the context because all array variable names will be followed by " |
| 3798 |
"brackets ([])." |
| 3799 |
msgstr "" |
| 3800 |
"Los números son almacenados en dos tipos de variables, variables simples y " |
| 3801 |
"matrices. Ambos tipos son designados por nombres. Estos nombres comienzan " |
| 3802 |
"con una letra, seguida por cualquier número de letras, dígitos y caracteres " |
| 3803 |
"de subrayado. Todas las letras deben ir en minúsculas. (Estos nombres " |
| 3804 |
"alfanuméricos son una ampliación. En el B<bc> de POSIX todos los nombres son " |
| 3805 |
"una sola letra minúscula). El tipo de variable queda claro según el " |
| 3806 |
"contexto ya que a todas las variables de tipo matriz les sigue unos " |
| 3807 |
"corchetes ([])." |
| 3808 |
|
| 3809 |
#. type: Plain text |
| 3810 |
#: opensuse-leap-16-1 |
| 3811 |
#, fuzzy |
| 3812 |
#| msgid "" |
| 3813 |
#| "A simple expression is just a constant. B<bc> converts constants into " |
| 3814 |
#| "internal decimal numbers using the current input base, specified by the " |
| 3815 |
#| "variable B<ibase>. (There is an exception in functions.) The legal " |
| 3816 |
#| "values of B<ibase> are 2 through 16. Assigning a value outside this " |
| 3817 |
#| "range to B<ibase> will result in a value of 2 or 16. Input numbers may " |
| 3818 |
#| "contain the characters 0-9 and A-F. (Note: They must be capitals. Lower " |
| 3819 |
#| "case letters are variable names.) Single digit numbers always have the " |
| 3820 |
#| "value of the digit regardless of the value of B<ibase>. (i.e. A = 10.) " |
| 3821 |
#| "For multi-digit numbers, B<bc> changes all input digits greater or equal " |
| 3822 |
#| "to ibase to the value of B<ibase>-1. This makes the number B<FFF> always " |
| 3823 |
#| "be the largest 3 digit number of the input base." |
| 3824 |
msgid "" |
| 3825 |
"A simple expression is just a constant. B<bc> converts constants into " |
| 3826 |
"internal decimal numbers using the current input base, specified by the " |
| 3827 |
"variable B<ibase>. (There is an exception in functions.) The legal values " |
| 3828 |
"of B<ibase> are 2 through 36. (Bases greater than 16 are an extension.) " |
| 3829 |
"Assigning a value outside this range to B<ibase> will result in a value of 2 " |
| 3830 |
"or 36. Input numbers may contain the characters 0-9 and A-Z. (Note: They " |
| 3831 |
"must be capitals. Lower case letters are variable names.) Single digit " |
| 3832 |
"numbers always have the value of the digit regardless of the value of " |
| 3833 |
"B<ibase>. (i.e. A = 10.) For multi-digit numbers, B<bc> changes all input " |
| 3834 |
"digits greater or equal to ibase to the value of B<ibase>-1. This makes the " |
| 3835 |
"number B<ZZZ> always be the largest 3 digit number of the input base." |
| 3836 |
msgstr "" |
| 3837 |
"Una constante es la expresión más simple. B<bc> convierte internamente las " |
| 3838 |
"constantes en números decimales usando la base de entrada activa, " |
| 3839 |
"especificada por la variable B<ibase>. (Hay una excepción en las funciones). " |
| 3840 |
"Los valores permitidos para B<ibase> van del 2 hasta el 16. Si se asigna un " |
| 3841 |
"valor a B<ibase> fuera de este rango se cambiará por 2 ó 16. Los números en " |
| 3842 |
"la entrada pueden formarse con los caracteres 0-9 y A-F. (Nota: Deben ir en " |
| 3843 |
"mayúsculas. Las minúsculas son nombres de variables). Los números de un solo " |
| 3844 |
"dígito tienen siempre el valor del dígito, sea cual sea el valor de " |
| 3845 |
"B<ibase>. (ej. A = 10.). En los números de más de un dígito B<bc> cambia " |
| 3846 |
"todos los dígitos mayores o iguales a ibase al valor de B<ibase>-1. Esto " |
| 3847 |
"hace que el número B<FFF> sea siempre el mayor número de 3 dígitos de la " |
| 3848 |
"base de entrada." |
| 3849 |
|
| 3850 |
#. type: Plain text |
| 3851 |
#: opensuse-leap-16-1 |
| 3852 |
msgid "" |
| 3853 |
"The result of the expression is the value of the first raised to the second. " |
| 3854 |
"The second expression must be an integer. (If the second expression is not " |
| 3855 |
"an integer, a warning is generated and the expression is truncated to get an " |
| 3856 |
"integer value.) The scale of the result is B<scale> if the exponent is " |
| 3857 |
"negative. If the exponent is positive the scale of the result is the " |
| 3858 |
"minimum of the scale of the first expression times the value of the exponent " |
| 3859 |
"and the maximum of B<scale> and the scale of the first expression. (e.g. " |
| 3860 |
"scale(a^b) = min(scale(a)*b, max( B<scale,> scale(a))).) It should be " |
| 3861 |
"noted that expr^0 will always return the value of 1." |
| 3862 |
msgstr "" |
| 3863 |
"El resultado de la expresión es el valor de la primera elevada a la segunda. " |
| 3864 |
"La segunda expresión debe ser un entero. (Si la segunda expresión no es un " |
| 3865 |
"entero, se genera un mensaje de advertencia y la expresión es truncada a un " |
| 3866 |
"valor entero). La escala del resultado es B<scale> si el exponente es " |
| 3867 |
"negativo. Si el exponente es positivo la escala del resultado es el mínimo " |
| 3868 |
"de estos valores: la escala de la base por el exponente o el máximo de " |
| 3869 |
"B<scale> y la escala de la base. (ej. scale(a^b) = min(scale(a)*b, " |
| 3870 |
"max( B<scale>, scale(a))).). Hay que tener en cuenta que el resultado de " |
| 3871 |
"expr^0 siempre será 1." |
| 3872 |
|
| 3873 |
#. type: Plain text |
| 3874 |
#: opensuse-leap-16-1 |
| 3875 |
msgid "" |
| 3876 |
"Boolean operations are also legal. (POSIX B<bc> does NOT have boolean " |
| 3877 |
"operations). The result of all boolean operations are 0 and 1 (for false and " |
| 3878 |
"true) as in relational expressions. The boolean operators are:" |
| 3879 |
msgstr "" |
| 3880 |
"Las operaciones booleanas también están permitidas. (El B<bc> de POSIX NO " |
| 3881 |
"tiene operaciones booleanas). El resultado de toda operación booleana es 0 ó " |
| 3882 |
"1 (falso o verdadero) como en las expresiones relacionales. Los operadores " |
| 3883 |
"booleanos son:" |
| 3884 |
|
| 3885 |
#. type: Plain text |
| 3886 |
#: opensuse-leap-16-1 |
| 3887 |
msgid "" |
| 3888 |
"Statements (as in most algebraic languages) provide the sequencing of " |
| 3889 |
"expression evaluation. In B<bc> statements are executed \"as soon as " |
| 3890 |
"possible.\" Execution happens when a newline in encountered and there is one " |
| 3891 |
"or more complete statements. Due to this immediate execution, newlines are " |
| 3892 |
"very important in B<bc>. In fact, both a semicolon and a newline are used as " |
| 3893 |
"statement separators. An improperly placed newline will cause a syntax " |
| 3894 |
"error. Because newlines are statement separators, it is possible to hide a " |
| 3895 |
"newline by using the backslash character. The sequence \"\\eE<lt>nlE<gt>\", " |
| 3896 |
"where E<lt>nlE<gt> is the newline appears to B<bc> as whitespace instead of " |
| 3897 |
"a newline. A statement list is a series of statements separated by " |
| 3898 |
"semicolons and newlines. The following is a list of B<bc> statements and " |
| 3899 |
"what they do: (Things enclosed in brackets ([]) are optional parts of the " |
| 3900 |
"statement.)" |
| 3901 |
msgstr "" |
| 3902 |
"Las sentencias (como en la mayoría de los lenguajes algebraicos) " |
| 3903 |
"proporcionan la secuencia de las evaluación de las expresiones. En B<bc> las " |
| 3904 |
"sentencias son ejecutadas \"tan pronto como es posible\". La ejecución " |
| 3905 |
"ocurre cuando se encuentra un cambio de línea y hay una o más sentencias " |
| 3906 |
"completas. Debido a esta ejecución inmediata, los cambios de línea son muy " |
| 3907 |
"importantes en B<bc>. En realidad, tanto el punto y coma como el cambio de " |
| 3908 |
"línea son usados como separadores de sentencias. Un cambio de línea en un " |
| 3909 |
"lugar inapropiado provocará un error de sintaxis. Es posible ocultar el que " |
| 3910 |
"un cambio de línea sea un separador de sentencias usando el carácter de " |
| 3911 |
"contra-barra. B<bc> toma la secuencia \"\\eE<lt>nlE<gt>\", donde " |
| 3912 |
"E<lt>nlE<gt> es el cambio de línea, como un espacio en blanco en lugar de " |
| 3913 |
"como un cambio de línea. Una lista de sentencias es una serie de sentencias " |
| 3914 |
"separadas por punto y coma y cambios de línea. Lo siguiente es un lista de " |
| 3915 |
"sentencias y la descripción de lo que realizan: (Las partes entre corchetes " |
| 3916 |
"de las sentencias son opcionales)." |
| 3917 |
|
| 3918 |
#. type: Plain text |
| 3919 |
#: opensuse-leap-16-1 |
| 3920 |
msgid "" |
| 3921 |
"This statement does one of two things. If the expression starts with " |
| 3922 |
"\"E<lt>variableE<gt> E<lt>assignmentE<gt> ...\", it is considered to be an " |
| 3923 |
"assignment statement. If the expression is not an assignment statement, the " |
| 3924 |
"expression is evaluated and printed to the output. After the number is " |
| 3925 |
"printed, a newline is printed. For example, \"a=1\" is an assignment " |
| 3926 |
"statement and \"(a=1)\" is an expression that has an embedded assignment. " |
| 3927 |
"All numbers that are printed are printed in the base specified by the " |
| 3928 |
"variable B<obase>. The legal values for B< obase> are 2 through " |
| 3929 |
"BC_BASE_MAX. (See the section LIMITS.) For bases 2 through 16, the usual " |
| 3930 |
"method of writing numbers is used. For bases greater than 16, B<bc> uses a " |
| 3931 |
"multi-character digit method of printing the numbers where each higher base " |
| 3932 |
"digit is printed as a base 10 number. The multi-character digits are " |
| 3933 |
"separated by spaces. Each digit contains the number of characters required " |
| 3934 |
"to represent the base ten value of \"obase-1\". Since numbers are of " |
| 3935 |
"arbitrary precision, some numbers may not be printable on a single output " |
| 3936 |
"line. These long numbers will be split across lines using the \"\\e\" as " |
| 3937 |
"the last character on a line. The maximum number of characters printed per " |
| 3938 |
"line is 70. Due to the interactive nature of B<bc>, printing a number " |
| 3939 |
"causes the side effect of assigning the printed value to the special " |
| 3940 |
"variable B<last>. This allows the user to recover the last value printed " |
| 3941 |
"without having to retype the expression that printed the number. Assigning " |
| 3942 |
"to B<last> is legal and will overwrite the last printed value with the " |
| 3943 |
"assigned value. The newly assigned value will remain until the next number " |
| 3944 |
"is printed or another value is assigned to B<last>. (Some installations may " |
| 3945 |
"allow the use of a single period (.) which is not part of a number as a " |
| 3946 |
"short hand notation for for B<last>.)" |
| 3947 |
msgstr "" |
| 3948 |
"Esta sentencia hace una de estas dos cosas. Si la expresión comienza con " |
| 3949 |
"\"E<lt>variableE<gt> E<lt>asignaciónE<gt> ...\", es considerada como una " |
| 3950 |
"sentencia de asignación. Si no es una sentencia de asignación, la expresión " |
| 3951 |
"es evaluada e impresa en la salida. Tras el número viene un cambio de línea. " |
| 3952 |
"Por ejemplo, \"a=1\" es una sentencia de asignación y \"(a=1)\" es una " |
| 3953 |
"expresión que tiene una asignación incluida. Todos los números se imprimen " |
| 3954 |
"en la base especificada por la variable B<obase>. Los valores posibles para " |
| 3955 |
"B<obase> van desde 2 hasta BC_BASE_MAX. (Ver sección LÍMITES). Para las " |
| 3956 |
"bases comprendidas entre 2 y 16, se usa el método usual de impresión. Para " |
| 3957 |
"las bases mayores de 16, B<bc> usa un método de impresión en el que utiliza " |
| 3958 |
"dígitos multi-carácter para imprimir cada dígito mayor que la base como un " |
| 3959 |
"número en base 10. Los dígitos multi-carácter son separados por espacios. " |
| 3960 |
"Cada dígito emplea tantos caracteres como sean necesarios para representar " |
| 3961 |
"\"obase-1\" en base diez. Como los números son de precisión arbitraria, " |
| 3962 |
"puede que algunos números no se puedan imprimir en una sola línea. Estos " |
| 3963 |
"números grandes serán repartidos en varias líneas con el carácter \"\\e\" al " |
| 3964 |
"final de cada línea. El número máximo de caracteres que se imprimen por " |
| 3965 |
"línea es 70. Debido a la naturaleza interactiva de B<bc>, la impresión de un " |
| 3966 |
"número lleva consigo la asignación del valor impreso a la variable especial " |
| 3967 |
"B<last>. Esto permite al usuario utilizar el último valor impreso sin tener " |
| 3968 |
"que volver a teclear la expresión que causó su impresión. Está permitido " |
| 3969 |
"asignar valores a B<last> y esto sobreescribirá el último valor impreso con " |
| 3970 |
"el valor asignado. El nuevo valor permanecerá hasta que se imprima el " |
| 3971 |
"siguiente número o se le asigne otro valor a B<last>. (Algunas instalaciones " |
| 3972 |
"pueden permitir usar un punto (.) que no sea parte de un número como una " |
| 3973 |
"notación más corta para B<last>)." |
| 3974 |
|
| 3975 |
#. type: Plain text |
| 3976 |
#: opensuse-leap-16-1 |
| 3977 |
msgid "" |
| 3978 |
"Functions may be defined as B<void>. A void funtion returns no value and " |
| 3979 |
"thus may not be used in any place that needs a value. A void function does " |
| 3980 |
"not produce any output when called by itself on an input line. The key word " |
| 3981 |
"B<void> is placed between the key word B<define> and the function name. For " |
| 3982 |
"example, consider the following session." |
| 3983 |
msgstr "" |
| 3984 |
|
| 3985 |
#. type: Plain text |
| 3986 |
#: opensuse-leap-16-1 |
| 3987 |
#, no-wrap |
| 3988 |
msgid "" |
| 3989 |
"CW< /* Check the sign of x. */\n" |
| 3990 |
" if (xE<lt>0) {\n" |
| 3991 |
" m = 1\n" |
| 3992 |
" x = -x\n" |
| 3993 |
" } >\n" |
| 3994 |
msgstr "" |
| 3995 |
"CW< /* Comprueba el signo de x. */>\n" |
| 3996 |
"CW< if (xE<lt>0) {>\n" |
| 3997 |
"CW< m = 1>\n" |
| 3998 |
"CW< x = -x>\n" |
| 3999 |
"CW< } >\n" |