Skip to content

Commit cb42fed

Browse files
committed
Adding information on limitation of inot-file names.
1 parent 6fc60ad commit cb42fed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/01-threading-basics.md

+6
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,9 @@ void loop() {
9999
delay(DELAY_BLUE_msec);
100100
}
101101
```
102+
As you can see from the example the name of the `*.inot`-file is used to generate a class and instantiate a object with the same name as the `*.inot`-file. Hence the `*.inot`-file can be only named in concordance with the rules to declare a variable in C++, which are: `*.inot`-file names
103+
* must begin with a letter of the alphabet or an underscore(_).
104+
* can also contain letters and numbers after the first initial letter.
105+
* are case sensitive.
106+
* no spaces or special characters are allowed.
107+
* cannot be a C++ keyword (i.e. `register`, `volatile`, `while`, etc.).

0 commit comments

Comments
 (0)