A few simple VBs

Updated on technology 2024-02-08
6 answers
  1. Anonymous users2024-02-05

    abs function: calculates the absolute value.

    rnd function: Returns a single-precision number containing a random value. Without parameter, it is a decimal between 0 and 1.

    MID function: Returns the number of characters contained in the string.

    mid(string,start[,length])

    where string is the required string expression from which the character is returned. If the string contains null, it will return the required long parameter, which represents the character position of the removed part of the string. If start exceeds the number of characters in the string, MID returns a zero-length string ("").

    length is an optional variant(long) parameter that represents the number of characters to be returned. If the omitted or length exceeds the number of characters in the text (including the characters at start), all characters in the string from start to end will be returned.

    The midb function works on the byte data contained in the string, just as it does in a double-byte character set language. Therefore, the parameter specifies the number of bytes, not the number of characters.

    str function: returns the string. converted by the specified type

    sqr(4+3*7)=5 first calculate the parentheses to get 25, and then sqr is the square root, so it is 5

    int(-17,8) is the wrong expression.

    abs(-235) =235, as mentioned earlier. is an absolute value.

    The LEN (ABC of the High School Affiliated to the University of Shanghai for Science and Technology) value is 0Because vb will treat the parentheses as variable names.

    If yes. len("ABC of the High School Affiliated to University of Shanghai for Science and Technology"), then the value is 13 and len is the length of the calculated string.

    The results of the 4 expressions are:

    Programming 100 points.

    truefalse

  2. Anonymous users2024-02-04

    If not, you can put him in the vb and calculate it yourself.

    abs(): Find the absolute value.

    rnd(): Generates a random number in the range of 0200and sqr(na)>10 or la = true

    len(sa)=12 and not la and na=100 =false

  3. Anonymous users2024-02-03

    VB Teaching is a software that supports Win9X NT 2000 XP.

    Software Name: VB Tutorial.

    Software Platform :p c

    Software version:

    Software language: Chinese Simplified.

    Soft body size:

    Software License: Free.

    Operating environment, software introduction, support win9x NT 2000 XP based on VisualBasic computer language, developed this software, it has the following functions: 1 fully support Chinese and English commands, and can be converted at will. It is the world's first programming environment that supports both Chinese and English at the command level.

    Chinese will make it easy for you to get started, and English will ensure that you are in line with the world trends and successfully pass various information technology exams. 2 provides English explanations of more than 200 information terms, so that you can unconsciously grasp it in the application, which is convenient for future development. 3. Many mathematical and physical concepts are vividly displayed on the computer, which is easy for everyone to understand, and demonstrates the application of various mathematical means in the computer, so that everyone can broaden their horizons and understand the importance of mathematics, such as the relationship between determinant and coordinate transformation, the relationship between derivative and extreme value, function and inverse, function graph, how color is generated, etc.

    4. It has a variety of debugging methods, so that users can intuitively observe the execution process of the computer with dynamic cavity or land. 5. In order to facilitate everyone to grasp the application of computer language in real life, we have combined some concepts of middle school mathematics and physics textbooks to make many examples, from which we can learn mathematical modeling and use computers to solve problems, which is not only convenient for students to adapt to the introduction of information questions in the college entrance examination, but also conducive to adults who are new to computers to correctly understand the application of computer language. 6. Provide similar descriptions of various grammars in the modern computer-controlled common language-C language, so that interested parties can continue to learn from the superficial to the deep.

  4. Anonymous users2024-02-02

    It's still hard to learn C language well! VC and C++ are about the same level of difficulty as VB. VB is a high-level language, and C language is a language between high-level languages and low-level languages, so the functions are much more than VB and VC (I personally think), and assembly language is still essential if you want to become a master!

  5. Anonymous users2024-02-01

    VB is a programming language developed by Microsoft, most of the semantics borrow from the statements of Basice, but the graphical programming interface is realized, and the object orientation is realized, called Visurl Basic for short, VB, which can be used to make some small programs and complete some desired functions, and has now developed to.

  6. Anonymous users2024-01-31

    Visual Basic is a structured, modular, object-oriented, and event-driven visual programming language developed by Microsoft that includes an event-driven mechanism to assist in the development environment.

    Visual Basic can be used to develop desktop applications, database management applications, and a large number of graphical applications.

    VB is the most spoken language in the world by any standard - both the number of developers who praise VB and the number of developers who complain about it. It is derived from the basic programming language. VB has a graphical user interface (GUI) and a rapid application development (RAD) system, which makes it easy to connect to the database using DAO, RDO, ADO, or easily create ActiveX controls.

    Programmers can easily build an application quickly using the components provided by VB.

    Visual Basic has been greatly improved in terms of data access, and the new ADO component makes it possible to quickly access large amounts of data. The data environment and new reporting capabilities also provide a new experience for data development. Visual Basic enables the development of distributed applications with an N-tier structure thanks to the power of COM Com+.

    At the same time, Visual Basic can also develop high-performance web applications on IIS. Visual Basic has not improved much in terms of language and IDE, but many of the new components have become useful tools for Visual Basic developers, such as File System Object. New string functions, such as split and replace, are also very convenient for Visual Basic programmers.

    It enables enterprises to quickly build multi-layered systems and web applications, and has become the most popular version of Visual Basic on Windows. Reference.

Related questions
10 answers2024-02-08

a = "n c hundred du q49232 ah ah ah pp"

mid(trim(a), 9, 5) 'From the 9th character from left to right (spaces are also counted), count 5 characters you want. >>>More

9 answers2024-02-08

Huang Xiaohu - It's not that simple.

Lyrics: Yao Ruolong Composer: Xiao Huangqi. >>>More

29 answers2024-02-08

Cut the peppers and cut them into small pieces. Chop the garlic. Finely chop the ginger. >>>More

12 answers2024-02-08

LZ: This is a typical mistake of yours, this calculation must be repeated, and to understand it this way: now there are athletes with numbers of , (the first 6 are male athletes, and the last 4 are female athletes) Think like you think about it, if you choose a female athlete with a number 7 for the first time, and choose four from the remaining 9 for the second time, if the selected four include an athlete with a number 8, this situation is the same as the first time the female athlete is numbered 8, and the second time you choose a number 7, so it is repeated So it can't be counted like that, it can only be classified like the answer: >>>More

2 answers2024-02-08

The following methods can be roughly judged:

1) Look at the color: **The higher the purity of the jewelry, the darker the color. In the absence of a gold medal, the general color can be determined according to the following colors: >>>More