• Faresh@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    ·
    5 hours ago

    I think they exclude some unicode characters from being use in identifiers. At least last I tried it wouldn’t allow me to use an emoji as a variable name.

      • Faresh@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 hour ago

        That code was C++ or something like that. Not GDScript.

        I tested this on Godot 4.2.1. You can write identifiers using a different writing system other than latin and you are allowed to have emojis in strings, but you aren’t allowed to use emojis in identifiers.