Páginas Web
En español su página web la leen y comprenden milliones
de personas. Pues, ¡piense cuántas personas podrían
entender lo que dice de sus productos al traducir el contenido al
inglés, alemán, noruego, italiano o francés!
Se aceptan comisiones de diseño de páginas web también. |
| |
Inglés
The creation and use of simple functions
While you are programming you will find that there are certain sections
of code that are used more frequently than others, whether they are
in several scripts or only in one. Placing these routines in a pre-defined
function will save time and make programming easier especially when
the web site becomes bigger. When a function has been created, it
will be executed every time that it is called, the same as print()
which sends text to the navigator whenever it is used.
The syntax to create a function defined by the user is as follows:
Function functionName () {
Instructions;
}
|
|
Español
Creación y uso de funciones simples
Mientras programe, descubrirá que existen ciertas secciones
de código que se usan más habitualmente, ya sean en
un solo script o en varios. Colocar esas rutinas en una función
autodefinida le ahorrará tiempo y facilitará la programación,
especialmente cuando los sitios web se hacen más grandes.
Cuando haya creado una función se ejecutará cada vez
que la llame, al igual que print() envía el texto al navegador
cada vez que la utiliza.
La sintaxis para la creación de una función definida
por el usuario es la siguiente:
Function NombreFuncion () {
Instrucciones;
}
Volver
|
|