unset
Popularity
500+ learners.
- Examples
El comportamiento predeterminado se puede recuperar con \unset Staff.explicitClefVisibility. | The default behavior can be recovered with \unset Staff.explicitClefVisibility. |
Nota: La función unset() le permite remover la definición de claves de una matriz. | Note: The unset() function allows unsetting keys of an array. |
Éstas variables son del tipo booleano, y aceptan las opciones set (activada) o unset (desactivada). | These variables are boolean, and can be set (activated) or unset (deactivated). |
Las instrucciones \set y \unset se usan para cambiar los valores de las propiedades de contexto. | The \set and \unset commands are used to change values for context properties. |
En PHP 4, sin embargo, unset() no es una función verdadera: es una sentencia. | In PHP 4, however, unset() is no longer a true function: it is now a statement. |
Para cancelar este ajuste, se debe especificar el \unset en el mismo nivel que el \set original. | To cancel this setting, the \unset must be specified on the same level as the original \set. |
Es necesario utilizar \set y \unset para delimitar la letra en que se quieren ignorar los melismas. | It is necessary to use \set and \unset to bracket the lyrics where melismata are to be ignored. |
La variable en el entorno de la llamada retendrá el mismo valor que antes de que unset() fuera llamada. | The variable in the calling environment will retain the same value as before unset() was called. |
Normalmente no es necesario el uso de \unset, pues una nueva instrucción \set hará el ajuste deseado. | Usually \unset is not required as a new \set command will achieve what is wanted. |
Si más tarde se modifica con \set, este nuevo valor predeterminado puede restablecerse con la instrucción \unset fontSize. | If it is later changed with \set, this new default value may be restored with the \unset fontSize command. |
La variable en el entorno de la llamada retendrá el mismo valor que antes que que se llamara unset(). | The variable in the calling environment will retain the same value as before unset() was called. |
Como tal, no devuelve valor alguno, e intentar tomar el valor de unset() resulta en un error de intérprete. | As such no value is returned, and attempting to take the value of unset() results in a parse error. |
Si no desea que la función anexe los elementos, use unset() sobre la matriz antes de pasarla a exec(). | If you do not want the function to append elements, call unset() on the array before passing it to exec(). |
Las propiedades ajustadas de esta manera aún pueden cambiarse dinámicamente utilizando \set y ser devueltas a sus valores predeterminados mediante \unset. | Properties set in this way may still be changed dynamically using \set and returned to their default value with \unset. |
Si ahora llamáramos a unset($a);, el contenedor de variable, incluyendo tanto el tipo como el valor, se eliminarían de la memoría. | If we now call unset($a);, the variable container, including the type and value, will be removed from memory. |
Los destructores son funciones que son llamadas automáticamente cuando un objeto es destruido, ya sea con unset() o simplemente al finalizarse su contexto. | Destructors are functions that are called automatically when an object is destroyed, either with unset() or by simply going out of scope. |
Una vez que la función ha dado valor a la cadena PS1, se puede eliminar la función del entorno con unset proml. | Once the PS1 string is set by the function, you can remove the function from the environment with unset proml. |
Las funciones variables no funcionarán con constructores de lenguaje como echo, print, unset(), isset(), empty(), include, require y similares. | Variable functions won't work with language constructs such as echo, print, unset(), isset(), empty(), include, require and the like. |
Las propiedades ajustadas de esta manera aún pueden cambiarse dinámicamente utilizando \set y ser devueltas al valor predeterminados que se estableció en el bloque \with mediante \unset. | Properties set in this way may still be changed dynamically using \set and returned to the default value set in the \with block with \unset. |
De forma análoga a \unset, la instrucción \revert para un contexto deshace una instrucción \override; como con \unset, solamente afecta a los ajustes que se hicieron dentro del mismo contexto. | Analogous to \unset, the \revert command for a context undoes an \override command; like with \unset, it only affects settings that were made in the same context. |
Random Word
Roll the dice and learn a new word now!
Want to Learn Spanish?
Spanish learning for everyone. For free.
