KV language DOES NOT take in-line comments

In KV, you can put comments on their own line, preceded by a # as usual.

However, if you try to put them after code, on the same line, you will get this error:

TypeError: ‘NoneType’ object has no attribute ‘__getitem__’

It took me WAY too long to figure this out. KVlang just doesn’t support in-line comments.

This is here so that anyone Googling the same error has the shortcut I didn’t.

I don’t really want to type out a full-fledged update right now though. I’m busy!

Advertisements

One thought on “KV language DOES NOT take in-line comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s