Search:

Type: Posts; User: javaDruide

Search: Search took 0.18 seconds.

  1. Can a null value be concatenated with an existing String? Exemple:

    static public String populateVehicleDetails(Vehicle vehicle){
    String returnString = new String()
    String existingString = "Chevy Uplander "
    String nl = "\n"

    ...
  2. Replies
    9
    Views
    116

    Re: What is best loop sequence?

    Thanks, I coded the first one and I was asked to change to the second by lead programmer (according to him that shoul simplify my code?!) I coded like that because as you said vehicle.Company is...
  3. Replies
    9
    Views
    116

    Re: What is best loop sequence?

    I'll try to simplify:




    if(vehicle.Company==G){

    if( vehicle.Collisions==-1 and (vehicle.Cost==null or vehicle.CurrentValue==null)){

    throwError(GMessage)
  4. Replies
    9
    Views
    116

    What is best loop sequence?

    What is the most efficient code?


    Writen like this:




    if(vehicle.Branch.UWCompanyCode==typekey.UWCompanyCode.TC_CGIC){
Results 1 to 4 of 4