aboutsummaryrefslogtreecommitdiff
path: root/files/es/glossary/constante/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/es/glossary/constante/index.html')
-rw-r--r--files/es/glossary/constante/index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/files/es/glossary/constante/index.html b/files/es/glossary/constante/index.html
new file mode 100644
index 0000000000..41d4efb98a
--- /dev/null
+++ b/files/es/glossary/constante/index.html
@@ -0,0 +1,20 @@
+---
+title: Constante
+slug: Glossary/Constante
+tags:
+ - CodingScripting
+ - Constante
+ - Glosario
+translation_of: Glossary/Constant
+---
+<p>Una constante es un valor que el programador no puede cambiar, por ejemplo números (1, 2, 42). Con {{glossary("variable","variables")}}, por otra parte, el programador puede asignar un nuevo {{glossary("value", "valor")}} a una variable cuyo nombre ya esté en uso.</p>
+
+<p>Al igual que las variables, algunas constantes están unidas a identificadores. Por ejemplo, el identificador <code>pi</code> podría estar vinculado al valor 3.14... .</p>
+
+<h2 id="Saber_más">Saber más</h2>
+
+<h3 id="Conocimientos_generales">Conocimientos generales</h3>
+
+<ul>
+ <li>{{Interwiki("wikipedia", "Constante_(informática)", "Constante")}} en Wikipedia</li>
+</ul>