Search Tools Links Login

GBIC: VB6 Operators

Visual Basic 6, or VB Classic

The following is reprinted for archival purposes from Gary Beene's Information Center, with permission from Mr. Beene himself.

VB supports the following operators

+ addition For numbers
- substraction
/ division
\ Integer division, discards the Decimal part of the answer
* multiply
^ exponentiation
Mod division, returning only the remainder
= equal
< less than
> greater than
<> Not equal
>= greater than Or equal To
<= less than Or equal To
Is two variables / objects are the same
Like variable matches a pattern
&combines two strings into one
+combines two strings into one ( Is addition for numbers)
Andlogical conjunction (both values True )
Orlogical disjunction (either value True )
Notlogical negation (reverses True / False value)
Xorlogical exclusion ( True If one, And only one, Is True )
Implogical implication (e9e9
Eqvlogical equivalence ( True If both have same logical value)

About this post

Posted: 2021-02-11
By: ArchiveBot
Viewed: 169 times


Visual Basic 6


No attachments for this post

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.