Re: (Fwd) [Solar-cdeducacion] Squeak

"German Morales" <[email protected]>
Newsgroups gmane.education.small-land
Message-ID <[email protected]>

--- "Daniel Ajoy" wrote:
> 	From:	"Diego F." <arkantos_310@m...>
> 1. ¿Como puedo hacer para q un objeto me envié mensajes después de
> determinado tiempo?

Hmmm, no esta muy claro lo que quiere hacer realmente...

Que haya pausas intermedias entre alguna accion?

   10 timesRepeat: [
      (Delay forSeconds: 2) wait.
      Transcript show: 'Hola!'; cr.
   ]

Que algo se ejecute luego de algun tiempo?

   Transcript show: 'esto llevara tiempo...'; cr.
   (Delay forDuration: (Duration
                           days: 0
                           hours: 0
                           minutes: 0
                           seconds: 15)) wait.
   Transcript show: 'por fin termino'; cr.

Delay blockea el uso de Squeak. Si esa no es la intencion, quizas 
quiera usar threads (Process en Squeak) independientes:

   [
   Transcript show: 'esto llevara tiempo...'; cr.
   Transcript show: 'pero puedo seguir usando Squeak!'; cr.
   (Delay forDuration: (Duration
                           days: 0
                           hours: 0
                           minutes: 0
                           seconds: 15)) wait.
   Transcript show: 'por fin termino'; cr.
   ] fork.

Si nada de esto es la intencion, por favor que Diego aclare que es lo 
que necesita, a ver que se puede hacer.

> 2. ¿Donde puedo conseguir un buen manual de programación en Squeak?

Stéphane Ducasse tiene una buena cantidad de libros gratis para bajar:
http://www.iam.unibe.ch/~ducasse/FreeBooks.html
No se si los de Squeak listados alli son buenos o no... quizas alguno 
generico de Smalltalk sea suficiente?

Saludos,

German






Visita nuestro sitio en http://www.small-land.org
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/small_land/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.