mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			289 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			289 B
		
	
	
	
		
			GDScript3
		
	
	
	
	
	
| 
								 | 
							
								func test():
							 | 
						||
| 
								 | 
							
									const _TEST = 12 + 34 - 56 * 78
							 | 
						||
| 
								 | 
							
									const _STRING = "yes"
							 | 
						||
| 
								 | 
							
									const _VECTOR = Vector2(5, 6)
							 | 
						||
| 
								 | 
							
									const _ARRAY = []
							 | 
						||
| 
								 | 
							
									const _DICTIONARY = {"this": "dictionary"}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									# Create user constants from built-in constants.
							 | 
						||
| 
								 | 
							
									const _HELLO = PI + TAU
							 | 
						||
| 
								 | 
							
									const _INFINITY = INF
							 | 
						||
| 
								 | 
							
									const _NOT_A_NUMBER = NAN
							 |