Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/02/2017, 19:19
alvaro_trewhela
Invitado
 
Mensajes: n/a
Puntos:
Respuesta: Afectar solo al primer resultado en bucle

Sería algo así:

Código PSEUDO:
Ver original
  1. first = true;
  2.  
  3. bucle(){
  4.     if(first){
  5.     first = false;
  6.     //do first thing
  7.     }
  8.     else{
  9.     //do other things
  10.     }
  11. }

supongo...

edite: lo hice un poquito más elegante jajaja

Última edición por alvaro_trewhela; 10/02/2017 a las 10:11