"You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself"
Sam Levenson
Pages: 123 ... 16
Sql  Bad PL/SQL 0 Votes
  1:                 END IF;       /*   cont=0  */
  2:              END IF;          /*    situacion = '016' or cont150> 0  */
  3:           END IF;
  4:  ELSE
  5:              IF ID.evd_tipoex IN
  6:                    ('505',
Tags: PL/SQL trigger-loco View more Last activity 7 hours, 12 minutes ago  
  1:  - (double)random {
  2:      return 4;
  3:  }
Tags: Objective-C random number generator works a treat View more Last activity 22 hours, 53 minutes ago  
Sql  What did you expect? -74 Votes
  1:  SELECT NULL WHERE 1=2
Tags: SQL View more Last activity 3 days, 7 hours ago  
Cpp  nested if statements -9 Votes
  1:  bool a;
  2:  bool b; 
  3:  bool c;
  4:  bool d; 
  5:  bool e;
  6:  bool f;
Tags: cpp if statement View more Last activity 4 days, 5 hours ago  
Javascript  Ternary operator -1 Votes
  1:  $(this.attr('data-current'))==1?'live':'live'
Tags: javascript ternary operator View more Last activity 6 days, 3 hours ago  
  1:  <div style="position: absolute; display: none; word-wrap: break-word; font-weight: 400; width: 146px; font-family: monospace; line-height: 14px; font-size: 11px; padding: 0px;">&nbsp;</div>
View more Last activity 6 days, 4 hours ago  
Cpp  One iteration loop 2 Votes
  1:  for(int i = 0; i < 1; ++i)
  2:  {
  3:      //Do something
  4:  }
Tags: loop View more Last activity 1 week, 3 days ago  
  1:  $sum = bcadd($row['sum'],'0',2);
Tags: basic-knowledge printf View more Last activity 1 week, 4 days ago  
  1:  <?php if (CURRENT_LANGUAGE == 'en') { ?> <body class="en"> <?php } ?>
  2:  <?php if (CURRENT_LANGUAGE == 'fr') { ?> <body class="fr"> <?php } ?>
  3:  <?php if (CURRENT_LANGUAGE == 'ar') { ?> <body class="ar"> <?php } ?>
  4:  <?php if (CURRENT_LANGUAGE == 'tr') { ?> <body class="tr"> <?php } ?>
View more Last activity 1 week, 5 days ago  
  1:  int length= 0;
  2:  for(int idx = 0; idx < a.length; i++){
  3:      length++;
  4:  }
  5:  System.out.println("length is : " + length);
Tags: array length View more Last activity 2 weeks, 1 day ago