If statement a method that makes a variable or some other type of data to make a decision. For example, you may have a
Script to check if the Boolean value is True or FALSE, or the variable contains a number or string value.
Use the IF statement
If ... Then ... Else statementConditionally executes a set of statements based on the value of an expression.
If condition Then statements [Else elsestatements]
Or, use block-form syntax:
If condition Then[Statements][ElseIf condition-n
New Orcas language features-query syntax
New Orcas language features-query syntax
[Original address][Original article publication date] Saturday, 2017l 21,200
Last month I started a post series to discuss some new VB and C # language features
Last time, we talked about the contextual language used in syntax analysis, the generative formula used to describe contextual grammar, the generative derivation, And the syntax analysis tree. Today, we will discuss how to compile a syntax analyzer.
Case has two formats. Simple case function and case search function.--Simple case function when ' 1 ' then ' Male ' when ' 2 ' then ' women ' else ' other ' end--case search function case when sex = ' 1 ' Then ' man ' when
Overview Brief Introduction MarkdownMarkdown is a lightweight markup language that allows people to write documents in easy-to-read, easy-to-write, plain text format and then convert them into rich HTML pages. --from [Wikipedia]Simply put, markdown
Regular Expression.
1. Test the mode of a string. For example, you can test an input string to see if there is a phone number or a credit card number. This is called Data Validity verification.
2. Replace text. You can use a regular expression in a
Java programming those things 31 -- If statement syntax (1) Zhengzhou game institute Chen yuefeng from: http://blog.csdn.net/mailbomb
5.3 condition statementsConditional statements are a type of statements that are selected and executed based on the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.