Three dogs (Are there three dogs or one dog?) is a code snippet used to illustrate the lettercase sensitivity of the programming language. For a case-sensitive language, the identifiers dog, Dog and DOG are all different and we should get the output:

The three dogs are named Benjamin, Samba and Bernie.

For a language that is lettercase insensitive, we get the following output:

There is just one dog named Bernie.



Related task

 Unicode variable names


 
opendb dogs.g y            # Create a database to hold our dogs
units ft                   # The dogs are measured in feet
in dog.s sph 0 0 0 1       # Benjie is a little Scottie dog
in Dog.s sph 4 0 0 3       # Samba is a Labrador
in DOG.s sph 13 0 0 5      # Bernie is massive. He is a New Foundland
echo The three dogs are named Benjamin, Samba and Bernie