mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 07:31:16 +00:00 
			
		
		
		
	
		
			
	
	
		
			10 lines
		
	
	
	
		
			210 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
		
		
			
		
	
	
			10 lines
		
	
	
	
		
			210 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
| 
								 | 
							
								func test():
							 | 
						||
| 
								 | 
							
									var lua_dict = {
							 | 
						||
| 
								 | 
							
										a = 1,
							 | 
						||
| 
								 | 
							
										"b" = 2, # Using strings are allowed too.
							 | 
						||
| 
								 | 
							
										"with spaces" = 3, # Especially useful when key has spaces...
							 | 
						||
| 
								 | 
							
										"2" = 4, # ... or invalid identifiers.
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									print(lua_dict)
							 |