<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Look for namespace-set-variable-value! in the help menu,</DIV>
<DIV>PLT MzScheme Language Manual section Namespaces.</DIV>
<DIV>Works for top-level variables only.</DIV>
<DIV>Jos Koot</DIV>
<DIV> </DIV>
<DIV>(((((lambda(x)((((((((x x)x)x)x)x)x)x)x))<BR>
(lambda(x)(lambda(y)(x(x y)))))<BR> (lambda(x)(x)x))<BR>
(lambda()(printf "Greetings, Jos~n"))))</DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gherson@snet.net href="mailto:gherson@snet.net">George Herson</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=plt-scheme@list.cs.brown.edu
href="mailto:plt-scheme@list.cs.brown.edu">PLT-Scheme mailing list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, April 26, 2007 3:44
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [plt-scheme] setting a var whose
name is det'ed at runtime (newb)</DIV>
<DIV><BR></DIV>(set! (get-name) (car some-list)) <BR>returns "set!: not an
identifier in: (get-name)". I<BR>think this behavior is required by
lexical scoping, in<BR>which case, How do we set a variable whose name
is<BR>dynamically determined?
thanks<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></BODY></HTML>