setNamespace

HC Workspace Management Workspace Control setNamespace
setGenSym setRedefinable

setNamespace aname


command. Sets the current namespace to aname. Useful for multi-user applications, when the users are alloed to execute Logo code. With a namespace for every user name conflicts are avoidable. The users can be isolated against each other, making Logo safer.

Example:

to pr5
	print 5
end
setnamespace "a
to pr5
	print "a5
end
show namespace	;::a
setnamespace "
pr5	;5
a::pr5	;a5

Examples:

References:

setGenSym setRedefinable