Case-sensitivity of identifiers: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 535:
There is just one dog, named Bernie
</pre>
 
 
=={{header|Frink}}==
Line 542 ⟶ 543:
DOG = "Bernie"
println["There are three dogs named $dog, $Dog and $DOG"]</syntaxhighlight>
 
 
 
=={{header|FutureBasic}}==
FB is lettercase-insensitive and throws an error with variables or constants with identical names but of varying case. However, here's an easy work around.
FutureBasic is case-insensitive
<syntaxhighlight lang="futurebasic">
CFDictionaryRef canines
CFStringRef dog
canines = @{@"dog":@"Benjamin", @"Dog":@"Samba", @"DOG":@"Bernie"}
 
print "The three dogs are "; canines[@"dog"]; ", "; canines[@"Dog"]; " and "; canines[@"DOG"]; "."
dog = @"Benjamin"
Dog = @"Samba"
DOG = @"Bernie"
 
window 1
print @"There is just one dog named "dog"."
 
HandleEvents
</syntaxhighlight>
{{output}}
 
{{out}}
<pre>
There isare justthree one dogdogs named Benjamin, Samba and Bernie.
</pre>
 
 
 
=={{header|Gambas}}==
717

edits