[3553] in java-interest

home help back first fref pref prev next nref lref last post

Re: Invasion de memoria ?

daemon@ATHENA.MIT.EDU (Sami Shaio)
Wed Nov 15 23:00:36 1995

Date: Wed, 15 Nov 1995 16:56:08 -0800
From: Sami.Shaio@Eng.Sun.COM (Sami Shaio)
To: java-interest-digest@java.Eng.Sun.COM, VANORGA@beta.upc.edu.pe


|From VANORGA@beta.upc.edu.pe Wed Nov 15 16:36:31 1995
|From: "Victor Anorga" <VANORGA@beta.upc.edu.pe>
|To: java-interest-digest@java
|Date:          Wed, 15 Nov 1995 18:44:33 EST
|Subject:       Invasion de memoria ?
|X-Info: To unsubscribe, send 'unsubscribe' to java-interest-request@java.sun.com
|
|Este programa invade memoria al con la instruccion ??? :
|
|    xtemp = xtemp.substring(xtemp.length(), 1) + xtemp.substring(0, 
|xtemp.length() - 1); 
|

El problema es que substring necesita numeros de 0-length-1. Trata
lo siguiente:

	xtemp = xtemp.substring(xtemp.length()-1,1) + xtemp.substrin(0,xtemp.length()-2);


|Tengo otra duda : Cualdo ejecuto el appletviewer con el 
|nombreprograma.class como parametro me sale el mensaje :
|[no properties loaded, using defaults]
|
|es esto normal ?

Si.


|
|Cualquier ayuda sera bien recibida.
|
|Victor Anorga Zavala
|
|/************************************************************
| UNIVERSIDAD PERUANA DE CIENCIAS APLICADAS
|  Departamento de Multimedia
|   VICTOR MANUEL ANORGA ZAVALA
|    E-mail : vanorga@beta.upc.edu.pe
|************************************************************/
|   
|-
|This message was sent to the java-interest mailing list
|Info: send 'help' to java-interest-request@java.sun.com
|

--sami

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post