"You must learn from the mistakes of others. You can't possibly live long enough to make them all yourself"
Sam Levenson
Pages: 123 ... 17
Javascript  11 function variables 0 Votes
  1:  function Ctrl_SelectNum(id,sNum,eNum,gap,val,setcmd,onChangeFunc,onFocusFunc,fixNumC,checker,inactive)
  2:  {
  3:    this.type = "selectNum";
  4:    this.active = !(inactive==true);
  5:    this.id = id;
  6:    this.value = val;
Tags: javascript,function,variables View more Last activity 12 hours, 46 minutes ago  
Php  Returning return? 9 Votes
  1:  return $return;
View more Last activity 4 days, 3 hours ago  
Csharp  getTomorrowDate function -15 Votes
  1:  public static DateTime getTomorrowDate()
  2:  {
  3:  Thread.Sleep(24*60*60*1000);
  4:  return DateTime.Now;
  5:  }
Tags: get, tomorrow, date View more Last activity 5 days, 4 hours ago  
  1:      <script type="text/javascript">
  2:        if (BrowserDetect.OS == 'Windows') {
  3:          if (javaws150Installed || javaws160Installed) {
  4:            document.write("<a href=\"/asptojnlp.aspx\" target=\"_blank\" title=\"Launch MyColour\"><img src=\"/media/354216/launchmycolour.png\" height=\"33\" width=\"185\" alt=\"btn-launchmycolour\"/></a>");
  5:          }
  6:          else if (!javawsInstalled) {
Tags: javascript View more Last activity 1 week ago  
Cpp  Everything becomes public -77 Votes
  1:  #define private public
View more Last activity 1 week ago  
Java  isTrue function 4 Votes
  1:      public boolean isTrue(boolean value) {
  2:          if (value == true) {
  3:              return true;
  4:          } else {
  5:              return false; 
  6:          }
View more Last activity 1 week, 1 day ago  
  1:  //Java
  2:  Object[] params = {typeOfProduct.toUpperCase().trim(),(optionValue.toUpperCase().trim()+ "%")};
  3:  List<SQLRow> result = fetchQueryResults("PACKAGE_NAME", "SQL_FUNCTION", params);
  4:  
  5:  
  6:  --SQL FUNCTION
Tags: Java SQL contains() View more Last activity 1 week, 1 day ago  
Csharp  Exception games 0 Votes
  1:      class Ball : Exception
  2:      {
  3:          static void Main(string[] args)
  4:          {
  5:              passBall(new Ball());
  6:          }
Tags: C# Exception throw catch ball useless game View more Last activity 1 week, 1 day ago  
Cpp  Double Incapsulation -22 Votes
  1:  private int _Power;
  2:  public int Power
  3:  {
  4:      get { return _Power; }
  5:      set { _Power = value; }
  6:  }
Tags: c# fields property View more Last activity 1 week, 1 day ago  
  1:      public static class Program
  2:      {
  3:          public static void main(string[] args)
  4:          {
  5:              Console.WriteLine("Girl:\tAm I too fat, honey?");
  6:              Console.Write("Boy:\t");
Tags: C# boolean maybe game dilemma girl View more Last activity 1 week, 1 day ago