Godot: Improve the error message when attempting to use `not >` or `not <` in GDScript

Created on 27 Oct 2020  路  1Comment  路  Source: godotengine/godot

very minor error

operating windows 10

version 3.2.2 stable

this isn't at all major but just wanted to mention

my code:

if $"explosion/white circle".scale not > Vector2(2,2):
___________$"explosion/white circle".scale+=Vector2(0.08,0.08)

the same happens with !>

error:

Parser Error: ':' expected at end of line.

if I change 'not >' to '<' it works fine.
but I think the error should be changed or 'not >' should = <

enhancement gdscript usability

Most helpful comment

but I think the error should be changed or 'not >' should = <

I don't know of any notable programming language which supports this.

>All comments

but I think the error should be changed or 'not >' should = <

I don't know of any notable programming language which supports this.

Was this page helpful?
0 / 5 - 0 ratings