The variable "with definition" function in PWP pwcorr TXTPW PW

Source: Internet
Author: User
The variables inside Pascal are strictly defined and are a good feature to avoid errors and increase the maintainability of the code. But for Web development,

It seems verbose and difficult to handle, not agile enough. If a Variant is used, the performance penalty for type conversion is also introduced.

The PWP engine has built-in mapping support for some common data types, directly inferring his data type by using a specially named variable name,

can be applied automatically in the program, no need to define in advance.

The following are the differences:

Str_xxxx, corresponding to String, such as str_1, Str_a, Str_key

Int_xxxx, corresponding to Integer,

Bool_xxx, corresponding to Boolean,

Uint_xxx, corresponding to cardinal,

PTR_XXXX, corresponding pointer

Jso_xxxx, corresponding to Tjsonobject,

The above type is automatically completed by the compiler before compiling the translation work, can greatly improve the development efficiency.

The above describes the variables in PWP "along with the definition" function, including the content of PW, variables, I hope to be interested in PHP tutorial friends helpful.

  • 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.