2012/5/5 Angel Java Lopez <[email protected]> > Hmmm... pero no hay un soporte de stdin stdout en Pharo? Busque, parece > que hay, pero no vi ejemplo o como lanzar Pharo para conseguir eso > > Stdout: FileStream stdout lf; nextPutAll: 'zaraza'; lf.
Stdin: lee: http://forum.world.st/Standard-input-in-Pharo-td2173080.html saludos > > 2012/5/5 Hernán Morales Durand <[email protected]> > >> Transcript >> show: (UIManager default request: 'What is your name?'). >> >> El 5 de mayo de 2012 03:58, Sergio Hernán Valenzuela Cámara < >> [email protected]> escribió: >> >> Amigos, >>> >>> Estoy haciendo mis primeras armas con smalltalk, tengo el siguiente >>> código(de una versión para GNU Linux) que lo ejecuto en >>> la ventana de workspace conjuntamente con la ventana de transcript: >>> >>> >>> | userName | >>> Transcript show: 'What is your name? '. >>> userName := stdin nextLine. >>> Transcript show: ('Hello ', userName, '!'); cr. >>> >>> pero me desconce el objeto .... >>> >>> stdin >>> >>> >>> en la versión de pharos. >>> >>> De antemano muchas gracias, >>> >>> Sergio Valenzuela >>> [email protected] >>> >>> -- >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> >>> http://www.clubSmalltalk.org >> >> >> >> -- >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> >> http://www.clubSmalltalk.org >> > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > > http://www.clubSmalltalk.org > -- Mariano http://marianopeck.wordpress.com -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] http://www.clubSmalltalk.org
