The second argument takes in a lambda function, which takes the index of the array element and then returns the value to be inserted at that index in the array.
El segundo argumento toma una función lambda, la cuál toma el índice del elemento del arreglo y después devuelve el valor para ser insertado en ese índice en el arreglo.
The key() function simply returns the key of the array element that's currently being pointed to by the internal pointer.
La función current() simplemente devuelve el valor del elemento del array que está siendo apuntado por el puntero interno.
The key() function simply returns the key of the array element that's currently being pointed to by the internal pointer.
La función key() simplemente devuelve la clave del elemento del array que está apuntando actualmente el puntero interno.
The following example demonstrates dynamic loop unrolling for a simple program written in C. Unlike the assembler example above, pointer/index arithmetic is still generated by the compiler in this example because a variable (i) is still used to address the array element.
El siguiente ejemplo muestra un desenroscado dinámico de bucle para un programa escrito en C. A diferencia del ejemplo anterior en ensamblador, la aritmética de punteros se genera por el compilador porque la variable indice se usa para indexar los elementos del array.
If a column with no name is returned, the associative key for the array element will be an empty string ("").
Si se devuelve una columna sin nombre, la clave asociativa para ese elemento del array será un string vacío (""). Ver también
? > While not being strictly an assignment by reference, expressions created with the language construct array() can also behave as such by prefixing & to the array element to add.
Mientras que no sea estrictamente una asignación por referencia, las expresiones creadas con el constructor de lenguaje array() también pueden comportarse como tales prefijando & al elemento del array a añadir.
Key name of the array element, an array of keys or property name of the object, or an anonymous function returning the value.
Puede ser de la siguiente manera: Nombre de la clave del array o de la propiedad del objeto para recuperar el valor.
Cleanup Problems Although there is no longer a symbol in any scope pointing to this structure, it cannot be cleaned up because the array element "1" still points to this same array.
Pese a que ya no hay ningún símbolo en ningún ámbito que apunte a esta estructura, esta no se puede limpiar ya que el elemento "1" del array todavía apunta al mismo array.
Return Values The current() function simply returns the value of the array element that's currently being pointed to by the internal pointer.
Devuelve el valor del array en la posición anterior que está apuntado por el puntero interno del array o FALSE si no hay más elementos.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.
Aucun résultat pour cette recherche.
Synonymes et analogies de "the array element" en anglais