× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Both of you are right. I continued to play with it and got it figured out. I 
had to specify the object then the method. So sortArrayAsc(a) became 
d.sortArrayAsc(a).

Thanks for the help.

On Fri, 25 January 2002, "Alistair Rooney" wrote:

>
> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Two things come to mind. Either you are referring to this from main() or
> you are trying to use a class directly without having first created an
> instance. You can only do this with things like Math or String.
>
> Alistair
>
> -----Original Message-----
> From: Mike Wills [mailto:programmer@koldark.net]
> Sent: 25 January 2002 05:37
> To: java400-l@midrange.com
> Subject: (no subject)
>
>
> Okay... I am having a problem compiling a program. I am just playing
> around. I get this error message: "non-static method
> sortArrayAsc(java.lang.String[]) cannot be referenced from a static
> context". What does this mean exactly? Here is the code that it
> referenced: sortArrayAsc(a); All the routine does is do a bubble sort.
>
> Thanks...
>
>
> ---------
> Mike Wills
> AS400 Programmer
> programmerATkoldarkDOTnet
> __________________________________________
> Launch your own web site Today!
> Create a Web site for your family,
> friends, photos, or a special event.
> Visit: http://www.namezero.com/sitebuilder
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400
> (JAVA400-L) mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.
>
>
>
> **********************************************************************
> "This e-mail may contain confidential information and may be legally
> privileged and is intended only for the person to whom it is addressed.
> If you are not the intended recipient, you are notified that you may not
> use, distribute or copy this document in any manner whatsoever.
> Kindly also notify the sender immediately, and delete the e-mail.
> When addressed to clients of the company from where this e-mail
> originates ("the sending company ") any opinion or advice contained
> in this e-mail is subject to the terms and conditions expressed in our
> standard terms of business or client engagement letter. The sending
> company does not accept liability for any damage, loss or expense
> arising from this e-mail and/or from the accessing of any files attached
> to this e-mail."
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> Tibbett & Britten Africa
> www.tibbett-britten.com
> **********************************************************************
>
> _______________________________________________
> This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) 
>mailing list
> To post a message email: JAVA400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
> or email: JAVA400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/java400-l.


---------
Mike Wills
AS400 Programmer
programmerATkoldarkDOTnet
__________________________________________
Launch your own web site Today!
Create a Web site for your family,
friends, photos, or a special event.
Visit: http://www.namezero.com/sitebuilder


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.