godot-module-template/engine/modules/gdscript/tests/scripts/parser/features/unicode_identifiers.gd

37 lines
989 B
GDScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

const π = PI
var = π
func test():
var փորձարկում = "test"
prints("փորձարկում", փորձարկում)
var امتحان = "test"
prints("امتحان", امتحان)
var = "test"
prints("পরীক্ষা", )
var тест = "test"
prints("тест", тест)
var = "test"
prints("जाँच", )
var = "test"
prints("기준", )
var = "test"
prints("测试", )
var = "test"
prints("テスト", )
var = "test"
prints("試験", )
var = "test"
prints("പരീക്ഷ", )
var = "test"
prints("ทดสอบ", )
var δοκιμή = "test"
prints("δοκιμή", δοκιμή)
const d = 1.1
_process(d)
@warning_ignore("unsafe_call_argument")
print(is_equal_approx(, PI + (d * PI)))
func _process(Δ: float) -> void:
+= Δ * π