endif (Windows CE 5.0)

Send Feedback

This command marks the end of a conditional block of script commands started with a previous if command.

endif

Parameters

None.

Remarks

The following code example uses the endif command to mark the end of a compound if statement:

if string "%CCA_CURRENTLANGUAGE%" == "en-US"
  echo "Hello World"
elseif string "%CCA_CURRENTLANGUAGE%" == "fr-CA"
  echo "Bonjour le Monde"
else
  echo "Hello"
endif

See Also

Conditional Expressions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.