当前位置:网站首页>VBS common built-in functions (2)
VBS common built-in functions (2)
2022-07-25 06:06:00 【N-order magic cube】
Array function : Returns a variant containing an array .
Asc function : Returns the first letter of a string ANSI Character code .
Atn function : Returns the arctangent of a number .
CBool function : The return has been converted to Boolean Expression of variant of subtype .
CByte function : Returns an expression that has been converted to a variant of a knot subtype .
CCur function : Returns an expression that has been converted to a variant of the currency subtype .
CDate function : Returns an expression that has been converted to a variant of the date subtype .
CDbl function : Returns an expression that has been converted to a variant of a double subtype .
Chr function : Return to the specified ANSI Characters related to character codes .
CInt function : Returns an expression that has been converted to a variant of an integer subtype .
CLng function ; The return has been converted to Long Expression of variant of subtype .
Cos function : Returns the cosine of an angle .
CreateObject function : Create and return to “ Automatically ” References to objects .
CSng function : Returns an expression that has been converted to a variant of a single precision subtype .
CStr function : Returns an expression that has been converted to a variant of a string subtype .
Date function : Returns the current system date .
DateAdd function : The returned date has been added with the specified time interval .
DateDiff function : Returns the interval between two dates .
DatePart function : Returns the specified part of a given date .
DateSerial function : Returns the variant of the date subtype of the specified month, year and day .
Datevalue function : Returns a variant of the date subtype .
Day function : Return date , The value range is 1 to 31.
Eval function : Evaluate the expression and return the result .
Exp function : return e ( The base of natural logarithm ) To what power .
Filter function : According to the specified filter criteria , Returns... Containing a subset of a string array 、 The lower limit is 0 Array of .
Fix function : Returns the integer part of a number .
FormatCurrency function : The returned expression is in the format of currency value , The currency symbol is defined in the system control panel .
FormatDateTime function : The returned expression is in the format of date and time .
FormatNumber function : The returned expression is in numeric format .
FormatPercent function : The expression returned is a percentage ( multiply 100) Format , In the back % Symbol .
GetObject function : Return from file pair “ Automatically ” References to objects .
GetRef function : Returns a reference to a procedure that can be bound to an event .
Hex function : Returns a string , Represents the hexadecimal value of a number .
Hour function : Returns a number indicating the hour , The value range is 0 to 23.
InputBox function : Show a prompt in the dialog box , Wait for the user to enter text or click the button , And return the contents of the text box .
InStr function : Returns the first occurrence of a string in another string .
InStrRev function ; Returns the position where one string appears in another string , But from the end of the string .
--------------------------------------------------------------
Int function : Returns the integer part of a number .
IsArray function : return Boolean value , Reflect whether the variable is an array .
IsDate function : return Boolean value , Reflect whether the expression can be converted to date .
IsEmpty function : return Boolean value , Reflect whether the variable has been initialized .
IsNull function : return Boolean value , Reflect whether the expression contains invalid data (Null).
IsNumeric function : return Boolean value , Reflect whether the expression can be converted into numbers .
IsObject function : return Boolean value , Reflect whether the expression refers to a valid “ Automatically ” object .
Join function : Returns a string created by connecting many substrings containing an array .
LBound function ; Returns the minimum valid subscript of the specified dimension array .
LCase function : The returned string has been converted to lowercase .
Left function : Returns the specified number of characters on the leftmost side of a string .
Len function : Returns the number of characters in a string or the number of bytes required to store a variable .
LoadPicture function : Return the image object . Used only for 32 Bit platform .
Log function : Returns the natural logarithm of a number .
LTrim function ; Returns a string without leading spaces .
Mid function : Returns a specified number of characters... From a string .
Minute function : Return to minutes , The value range is 0 to 59.
Month function : Returns the number of months , The value range is 1 to 12.
MonthName function : Returns a string representing the month .
MsgBox function : Display in the message dialog box , Wait for the user to click the button , And return the value representing the button clicked by the user .
Now function : Returns the current system date and time of the computer .
Oct function : Returns a string representing the octal value of the number .
Replace function : Returns a string , The specified substring has been replaced by another substring a specified number of times .
RGB function : Back on behalf of RGB Number of color value .
Right function : Returns the specified number of characters at the far right of the string .
Rnd function : Return random number .
Round function : Returns the specified number of digits 、 Rounded number .
RTrim function : Returns a copy of the string without trailing spaces .
--------------------------------------------------------------
ScriptEngine function : Returns a string that reflects the scripting language in use .
ScriptEngineBuildVersion function : Return the compiled version number of the script engine in use .
ScriptEngineMajorVersion function : Returns the major version number of the script engine in use .
ScriptEngineMinorVersion function : Returns the minor version number of the script engine in use .
Second function : Return seconds , The value range is 0 to 59.
Sgn function : Returns an integer that reflects the sign of a number .
Sin function : Returns the sine of the angle .
Space function : Returns a string consisting of a specified number of spaces .
Split function : The lower limit of return is 0 Of 、 A one-dimensional array consisting of a specified number of substrings .
Sqr function : Returns the square root of a number .
StrComp function : Returns a numeric value that reflects the result of string comparison .
String function : Returns a repeating string of a specified length .
StrReverse function : Returns a string , Where the order of characters is opposite to that in the specified string .
Tan function : Returns the tangent of the angle .
Time function : Returns... Representing the current system time “ date ” Subtype “ variant ”.
Timer function : When you return, it's midnight 12:00 AM Seconds after .
TimeSerial function : Returns a variant of the date subtype that contains the specified hour, minute, and second time .
Timevalue function : Returns a variant of the date subtype with time .
Trim function : Returns a copy of a string with leading or trailing spaces removed .
TypeName function : Returns a string , It provides variant subtype information about variables .
UBound function : Returns the maximum valid subscript of the specified dimension array .
UCase function : The returned string has been converted to uppercase letters .
VarType function : Returns a number that identifies a variant subtype .
Weekday function : Returns a number representing the day of the week .
WeekdayName function : Returns a string representing the day of the week .
Year function : Returns a numeric value representing the year .
边栏推荐
- ROI pooling and ROI align
- For data security reasons, the Dutch Ministry of Education asked schools to suspend the use of Chrome browser
- QT qtextedit setting qscrollbar style sheet does not take effect solution
- (16) [system call] track system call (3 rings)
- R language ggpubr package ggarrange function combines multiple images and annotates_ Figure add annotation, annotation, annotation information for the combined image, and use the right parameter to ad
- What are the ways to realize web digital visualization?
- 剑指 Offer 54. 二叉搜索树的第k大节点
- Y76. Chapter IV Prometheus large factory monitoring system and practice -- Prometheus advanced (VII)
- Req.body in node.express is always undefind
- Unity animator animation and state machine
猜你喜欢

HTB-Optimum

idea常用10个快捷键

The computer accesses the Internet normally with the same network cable, and the mobile phone connects to WiFi successfully, but it cannot access the Internet

What are the ways to realize web digital visualization?

Unity 模型简化/合并 一键式插件

Softing pnGate系列网关:将PROFIBUS总线集成到PROFINET网络

Productivity tool in the new era -- flowus information flow comprehensive evaluation

Blocking Queue Analysis

Amazoncaptcha 95%成功率绕过亚马逊IP验证码

(Niuke multi school I in 2022) i-chiitoitsu (expected DP)
随机推荐
[ultra detailed diagram] FPN + mask RCNN
对于von Mises distribution(冯·米塞斯分布)的一点心得
R language data The table package performs aggregation transforms of data packets and calculates the grouping interquartile range (IQR) of dataframe data
ROI pooling and ROI align
Softing pnGate系列网关:将PROFIBUS总线集成到PROFINET网络
PHP warehouse inventory management system source code WMS source code
JS how to delete an element without deleting its child elements
What are the ways to realize web digital visualization?
npx和npm区别
50 places are limited to open | with the news of oceanbase's annual press conference coming!
新时代生产力工具——FlowUs 息流全方位评测
剑指 Offer 54. 二叉搜索树的第k大节点
(Niuke multi School II) j-link with arithmetic progress (least square method / three points)
Date (day 76)
HTB-Devel
Vim配置Golang开发环境
(2022牛客多校二)K-Link with Bracket Sequence I(动态规划)
【Node】服务端口被占用Error: listen EADDRINUSE: address already in use :::9000-如何关闭node启动的端口
[QT] solve the problem of Chinese garbled code output from QT console
mysql数据库备份和恢复