Help Contents / Workspace Management / Workspace Control / setNamespace

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 


previous: setGenSym	next: setRedefinable
