Travis1012's Profile User Rating: -----

Reputation: 36 Craftsman
Group:
Contributors
Active Posts:
220 (0.12 per day)
Joined:
05-August 09
Profile Views:
9,802
Last Active:
User is offline Jul 26 2014 04:28 AM
Currently:
Offline

Previous Fields

Country:
AU
OS Preference:
Who Cares
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
75

Latest Visitors

Icon   Travis1012 am now a MACS CT.

Posts I've Made

  1. In Topic: Finding equal numbers from array

    Posted 24 Jan 2014

    You are definately causing an ArrayIndexOutOfBounds error.

    When looking at your code specifically the lines:

    if(array3[i] == array3[i-1]){
    


    and

    }else if(array3[i] == array3[i+1]){
    


    I can see why an ArrayIndexOutOfBounds would occur.

    In the first iteration of the for loop i = 0. So array3[i] is referencing position 0 and array3[i-1] position -1 (Whoops! Can not index a position outside of the array, -1 does not exist). That is the first error.

    On the final iteration of the for loop something similar will happen. array3[i] will be the referencing the last position in the array i, and array3[i+1] will be indexing a position outside the array again. This is why you will be having these errors. Look over your code and try to attempt to rectify the errors. Not saying what I said will solve the entire problem you need to solve but should help to get you moving again.
  2. In Topic: Oval image has a distorted shape

    Posted 8 Nov 2012

    Fixed the problem. Found out that the Height, not the width as I had needed to be set. It was a very unusual problem.
  3. In Topic: Oval image has a distorted shape

    Posted 8 Nov 2012

    View PostMartyr2, on 09 November 2012 - 10:32 AM, said:

    IE could be caching it perhaps? Is there an IE specific stylesheet being included? Do you have a link we can see for ourselves?

    :)



    Thank you for the reply.

    The url is http://www.housename...e-cast-sign.php

    Have a look at the image of the Waratah, under the heading Designs.

    No IE specific stylesheet. Not sure if it is caching it, but it is happening on more then one computer.
    I am using IE 8.0.6001.18702
  4. In Topic: Paypal - Including Comments from form in Buy It Now Button

    Posted 8 Nov 2012

    View PostMartyr2, on 09 November 2012 - 09:57 AM, said:

    Not exactly sure what you want the comment field for, but during the DoCapture API Operation you have the NOTE field you can use to put in a note that will be passed to PayPal and added to the buyer's email and transaction history.

    Perhaps this is what you need? :)


    Thank you for your reply.

    Do I just need to change the name/id of the comments field to Note? or does this involve a more complicated solution. Is this like the comments/instructions to merchants field?

My Information

Member Title:
D.I.C Head
Age:
23 years old
Birthday:
December 10, 1990
Gender:
Location:
Australia
Full Name:
Travis
Years Programming:
7
Programming Languages:
JAVA, PHP, HTML, JavaScript, C/C++, Perl, CSS, OpenGL

Contact Information

E-mail:
Private
Website URL:
Website URL  http://
Twitter:
trav1sk

Friends

Comments

Travis1012 has no profile comments yet. Why not say hello?