mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 07:31:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			92 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			92 B
		
	
	
	
		
			GDScript
		
	
	
	
	
	
func test():
 | 
						|
	var x = 42
 | 
						|
	var my_lambda = func(): print(x)
 | 
						|
	my_lambda.call() # Prints "42".
 |