Skip to content

Commit

Permalink
Adding information on limitation of inot-file names.
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Dec 21, 2021
1 parent 7c242fb commit 761df53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/01-threading-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,9 @@ void loop() {
delay(DELAY_BLUE_msec);
}
```
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
* must begin with a letter of the alphabet or an underscore(_).
* can also contain letters and numbers after the first initial letter.
* are case sensitive.
* no spaces or special characters are allowed.
* cannot be a C++ keyword (i.e. `register`, `volatile`, `while`, etc.).

0 comments on commit 761df53

Please sign in to comment.