ABSTRACT

Looking at complete computer programs can be a daunting experience for people with no knowledge about coding. They tend to look like a jumble of incomprehensible numbers and letters. However, all programs start from a blank page, and every line has a functional meaning that can be translated into a more intuitive language. This book will walk you through building a script to run a behavioral experiment. It will start with a blank page, and then gradually write in relevant commands that will be explained line-by-line. It is important that you work through the book from beginning to end the first time, typing in the commands in your own script as you go along. This book is intentionally short, to allow you to learn as quickly as possible. You should, however, always ensure you know what each line of code is doing before moving on to the next line.