|  | 
	
	
		| cstegmann Beginner
 
 
 Joined: 30 Sep 2004
 Posts: 14
 
 
 | 
			
			  |  Posted: Fri Jan 21, 2005 9:30 am 
 #var makes duplicates an existing variable into root folder
 
 |  
				| Hi there, 
 to change the value of a variable i use #var varbiablename 1 and sometimes for no reason at all it will make a new variable in the root folder with that name. Sometimes i get conflicts in my system because it's looking up the wrong variable and so on. Does anyone know how to specify where the variable is for #var or how to get aroundt this?
 
 Thanks
 |  | 
	
	  |  | 
	
		|  | 
	
		| Vijilante SubAdmin
 
  
 Joined: 18 Nov 2001
 Posts: 5187
 
 
 | 
			
			  |  Posted: Fri Jan 21, 2005 10:22 am 
 |  
				| Looking at the help for #VARIABLE we find the full syntax can be used for what you want. #VARIABLE name {value} {default value or _nodef} "class"
 
 You can also use the class character (default of /) in the name, this should be findable from the help.
 #VARIABLE ./class/subclass/name {value}
 |  | 
	
	  | 
		    
			  | _________________ The only good questions are the ones we have never answered before.
 Search the Forums
 |   |  | 
	
		|  | 
	
		| cstegmann Beginner
 
 
 Joined: 30 Sep 2004
 Posts: 14
 
 
 | 
			
			  |  Posted: Fri Jan 21, 2005 6:30 pm 
 |  
				| Thanks, that worked. Only one problem. I changed a #var to the #var ClassFolder/ClassSubfolder/VariableName 1 and now a Button which was linked to toggle up or down with the VariableName won't toggle up or down anymore. Know why?
 |  | 
	
	  |  | 
	
		|  | 
	
		| Vijilante SubAdmin
 
  
 Joined: 18 Nov 2001
 Posts: 5187
 
 
 | 
			
			  |  Posted: Sat Jan 22, 2005 5:36 pm 
 |  
				| You likely have a duplicate of the variable someplace else. 
 |  | 
	
	  | 
		    
			  | _________________ The only good questions are the ones we have never answered before.
 Search the Forums
 |   |  | 
	
		|  | 
	
		|  | 
	
		|  |