nedcomp hosting homepage

Producten en Diensten
Dedicated servers
Datacenter informatie
Partners, resellers
Helpdesk informatie
Technische docs, tools
Support homepage
ASP componenten
Praktische ASP, ASP.NET
Visual route server
Whois (domein gegevens)
Software documentatie
Whitepapers
Zoeken
Nedcomp / algemeen

Zoeken
 

Copyright © Nedcomp Hosting
Telefoon nr :   +31 184 670111
Fax nummer :   +31 184 631384
E-mailadres :   info@nedcomp.nl
 

Visual Basic Language Reference  

^= Operator

Raises the value of a variable to the power of an expression and assigns the result back to the variable.

variable ^= expression

Parts

variable
Required. Any numeric variable.
expression
Required. Any numeric expression.

Example

The following example uses the ^= operator to raise the value of one Integer variable to the power of a second variable and assign the result to the first variable.

Dim var1 As Integer = 10
Dim var2 As Integer = 3
var1 ^= var2   ' The value of var1 is now 1000.

See Also

&= Operator | *= Operator | += Operator | -= Operator | /= Operator | = Operator | \= Operator | ^ Operator | Assignment Operators | Arithmetic Operators | Operator Precedence in Visual Basic | Operators Listed by Functionality