Microsoft MakeCode

Classes don't work (python)

The way classes work is very flawed.
image
When trying to define a constructor for a class I get this error, probably because of the underscores in the function name.
Also when I don’t do that and try to construct a class without a constructor I get an error “cannot find function x” when the class is defined.

1 Like

This is being tracked:

I see, shame they haven’t gotten around to it after all this time.

1 Like