<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=171012512-02022007>Isn't there
something missing ;-)</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B>
spdegabrielle@gmail.com [mailto:spdegabrielle@gmail.com] <BR><B>Gesendet:</B>
Friday, February 02, 2007 12:09<BR><B>An:</B> Robert
Matovinovic<BR><B>Betreff:</B> Re: [plt-scheme] Changing field values in
objects<BR><BR></FONT></DIV><BR>I use this if it's any
help<BR><BR>s.<BR><BR><BR>
<DIV><SPAN class=gmail_quote>On 2/2/07, <B class=gmail_sendername>Robert
Matovinovic</B> <<A
href="mailto:robert.matovinovic@web.de">robert.matovinovic@web.de </A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi,<BR>I'm
nearly desparate, since I'm trying to do a simple thing: changing the
<BR>value of a field in an object. I read the help desk thouroghly and tried
a<BR>lot, but couldn't find a solution, which to most of you must be
obvious. So<BR>here is a bit of sample code. I would appreciate very much if
someone can <BR>just add the lines to change the value of the value
field:<BR><BR>(define test%<BR> (class
object%<BR> (init-field (value
0))<BR> (super-new)<BR> )<BR> )<BR>(define
t (new test% (value 10)))<BR>(get-field value t) <BR><BR>BTW, is there any
tutorial to familiarize oneself easily with the object<BR>system of plt
scheme?<BR><BR>Thanks in
advance<BR>Robert<BR><BR>_________________________________________<BR>Robert
Matovinovic<BR>2 Fenella Drive, Monavale
<BR>Harare<BR>Zimbabwe<BR><BR>Tel: +263 (0)4 339
879<BR>Cell: +263 (0)91 43 66 47<BR>email: <A
href="mailto:robert.matovinovic@web.de">robert.matovinovic@web.de</A><BR><BR>_________________________________________________
<BR> For list-related administrative tasks:<BR> <A
href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>--<BR>Stephen De Gabrielle </BLOCKQUOTE></BODY></HTML>