NOCASE

Syntax

NOCASE

Explanation

NOCASE causes Logo to become case sensitive, so that Logo differentiates between upper case and lower case letters. NOCASE is an abbreviation for NO CASE CONVERSION. What you type in lower case characters is interpreted by Logo as different from upper case.

When Logo loads, its default state is CASE, where Logo internally converts lower case letters to their upper case equivalent. The current case status of Logo is returned by CASE?.

Examples

? CASE?

Result: CASE

? print [Your friends are here]

YOUR FRIENDS ARE HERE

? nocase

? print [Your friends are here]

print is not a Logo procedure.

? PRINT [Your friends are here]

Your friends are here

? CASE

? print [Your friends are here]

YOUR FRIENDS ARE HERE

?