bingy's Profile User Rating: -----

Reputation: 96 Whiz
Group:
Contributor w/DIC++
Active Posts:
701 (0.25 per day)
Joined:
15-December 06
Profile Views:
19,869
Last Active:
User is offline Today, 06:20 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Ford
Dream Kudos:
50

Latest Visitors

Icon   bingy has not set their status

Posts I've Made

  1. In Topic: Video Games Currently Working On

    Posted 1 Jul 2014

    Dep a free game is a free game dude
  2. In Topic: Function keeps following 1 part of if statement no matter what is type

    Posted 15 Jun 2014

    ok I fixed the issue myself by changing the code to the following.

    function menuAbandon()
    {
        var dOre=window.prompt("Please enter either D for Deploy or E for Exchanging units","D");
        if (dOre === "D" && dOre !== null)
        {
           var deSq=window.prompt("Please enter the square you would like to deploy your units to","0");
           if (deSq != 0 && deSq != null && ! isNaN(deSq))
    	   {
    		var depUnits=window.prompt("Please enter the number of units you would like to deploy","0");
    		if (depUnits != 0 && depUnits != null && ! isNaN(depUnits))
            {
            Terminal.value = "b w " + depUnits +";d " + depUnits + " " + menuSq + " " + deSq + ";ab " + menuSq + ";b a";
            breakdownCommands();   
            rmMenu();
            }   
            rmMenu();
    		}
        }
        else if (dOre === "E" && dOre !== null)
        {
           var exUnits=window.prompt("Please enter the number of units you would like to deploy","0");
    		if (exUnits != 0 && exUnits != null && ! isNaN(exUnits))
    		{
           Terminal.value = "ex " + exUnits + " " + menuSq + ";ab " + menuSq + ";b a";
           breakdownCommands();   
           rmMenu();
    	   }   
            rmMenu();
        }   
    }
    


    This now allows the commands to be ran without an issue.
  3. In Topic: Function keeps following 1 part of if statement no matter what is type

    Posted 15 Jun 2014

    OK now that it is able to determine paths correctly, maybe you guys can help me figure out something else. When I select D for the value, I get promtped to enter a square number. Once I enter that square number, it is supposed to continue with the commands but currently it is not. Any ideas on why it is not going through the rest of the code?

    function menuAbandon()
    {
        var abUnits=psqs[menuSq].getUnits();
    	var dOre=window.prompt("Please enter either D for Deploy or E for Exchanging units","D");
        if (dOre === "D" && dOre !== null")
        {
           var deSq=window.prompt("Please enter the square you would like to deploy your units to","0");
           if (deSq != 0 && deSq != null && ! isNaN(deSq))
            {
            var depUnits = abUnits--;
            Terminal.value = "b w " + depunits +";d " + depUnits + " " + menuSq + " " + deSq + ";ab " + menuSq + ";b a";
            breakdownCommands();   
            rmMenu();
            }
        }
        else if (dOre === "E" && dOre !== null)
        {
           var exUnits = abUnits--;
           Terminal.value = "ex " + exUnits + " " + menuSq + ";ab " + menuSq + ";b a";
           breakdownCommands();   
           rmMenu(); 
        }   
    }
    
  4. In Topic: What Are You Working On Today?

    Posted 10 Jun 2014

    Neo that's called the Darwin effect, LOL
  5. In Topic: Song of the day

    Posted 10 May 2014

My Information

Member Title:
D.I.C Addict
Age:
33 years old
Birthday:
May 22, 1981
Gender:
Location:
Pennsylvania
Years Programming:
4
Programming Languages:
VB.net 2003
Java

Contact Information

E-mail:
Private
AIM:
AIM  Wldstaln
MSN:
MSN  bingyman@hotmail.com
Website URL:
Website URL  http://
ICQ:
ICQ  27647118
Yahoo:
Yahoo  wldstaln
Facebook:
www.facebook.com/wldstaln
Twitter:
wldstaln
Xfire:
wldstaln

Comments

Page 1 of 1
  1. Photo

    BenignDesign Icon

    20 May 2013 - 03:30
    Such a lonely little wall!
Page 1 of 1