[PB] tabs and basic data types

Source: Internet
Author: User

POWERBULIDER allows you to use special ASCII characters in strings. font size (~) Special characters are introduced in POWEBULIDER. The following table lists how to introduce specified ASCII characters in PB.

String Generated ASCII characters
~ N Line feed
~ T Tab
~ V Vertical Tab
~ R Enter
~ F Page feed
~ B Escape Character
~ " Double quotation marks
~ ' Single quotes
~~ Generation character
~ 000-255 ASCII characters in decimal format
~ H01-HFF ASCII characters in hexadecimal notation
'Oss-O377 ASCII characters in octal notation

The above characters are often used when you generate a display string for the message box or write the value to a file.

Continuous string: a continuous string (&) is used to extend the statement and string between multiple lines. You can put the string & at the end of a string without closing the quotation marks, and then extend the string to the next line.

Standard Data Type:

Data Type

Definition

BLOB Large binary object used to store large amounts of data
BOOLEAN TRUE Value, TRUE or FALSE
CHAR Single ASCII character
DATE Date, year, month, day
DATETIME Merged from date to time
DECIMAL The number of signed decimal digits with an accuracy of 18 digits
DOUBLE 15-Bit Signed floating point precision, 2.2E-308 to 1.7E + 308
INTEGER 16-bit signed number,-32768 to + 32767
LONG 32-bit signed number,-2147483648 to + 2147483647
REAL 6-Bit Signed floating point precision, from 1.17E-38 to 3.4E + 38
STRING Any ASCII character.
TIME 24-hour format Time Value
Unit 16-bit unsigned count, 0 to 65535
Ulong 32-bit unsigned count, 0 to 4294967295

Data type conversion:

Function Function
Char' Converts blob, integer, and string to chat.
Dec Convert string to decimal
Double Convert string to double
Integer Convert string to integer
Long Convert string to long
Real Convert string to real
Date Obtain the date part of datetime
Datetime Convert date and time To datetime
String Convert blob, date, datetime, and time to string
Time Obtain the time part of datetime

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.