[S Variable] Great God Wu spray, great god of s Variable

Source: Internet
Author: User

[S Variable] Great God Wu spray, great god of s Variable

[S Variable]
Usage:
Declarative Variables
// Value assignment
S a = 123
// You can assign a string
S an = "123"
// Other variables can be used.
S B =

Note:
A variable is similar to a box. You can store the data in it and use it as needed to change the data you want to install. Variables in the margin language can be automatically converted based on the value assignment. All variables do not need to declare the data type.

Tip:
Variable definition specification, starting with "s. Then, add your own custom variable names, such as abc, nihao, sfw123, and www_zzw. The variables cannot all be numbers or be doped with symbols. Do not use variable names that are too long, we do not recommend that you use Chinese as the variable name.

Null Value:
If you access a variable that is not declared, the return value is "null" of the null type, which is not equal to the character 'null '.
Example of determining whether the value is null: (we do not know whether the variable "abc" is null)
F (abc = null)
{
Syso ("is null ")
}

 

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.