![]() ![]() Short so I won't get mad about typing it a bunch of times and am less likely to type it wrong and meaningful so I won't have trouble remembering what it means when I come back to it a few weeks later.īut why didn't I just write "Number of kids = 2"? Besides being long, this would cause an error and Praat would not finish the script, because it has restrictions on what a variable name can look like. I've chosen a name that is short and meaningful. Hopefully it's easy to guess that this variable represents "number of kids". This isn't really required, but is considered good style and supposedly improves readability of your code. Another thing is that there is a single space on either side of the assignment operator. ![]() Its job is to take values and assign them to variables. It doesn't really mean "equals", it's actually called the assignment operator. We use the "=" sign, although there's a subtle difference between the way we normally think of it and the way it's used here.In Praat's language this is a requirement. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |