Half-line code is used to generate the number of series (1, 2, 3... N), half-line

Source: Internet
Author: User

Half-line code is used to generate the number of series (1, 2, 3... N), half-line


@{Sn: key name [= int]}

Function: each key name generates 1, 2, 3 ...... [= Int] (optional) value of n series. It is used to initialize the number of series. If n is not initialized, an empty value is returned.


@{Sn: test_id}, return NULL (not initialized)
@{Sn: test_id = 0}, initialize the value of the test_id series, and return 1
@{Sn: test_id}, returns 2

Try it.

Download Easy Do IT resources

Platform and the latest development manual free download: http://download.csdn.net/detail/tx18/8464425

Development Instance:Light B2C e-commerce websites, Free download: http://download.csdn.net/detail/tx18/8318585

The light-Open Platform will occasionally upgrade to provide more powerful and Easy functions for you. Please note thatDownload the latest version

Related Article

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.