Skip to content

space either side of ^ operator is significant #45761

Open
@HelmZalee

Description

@HelmZalee

Type of issue

Typo

Description

Surprised to get an error entering ?2^3 into the Immediate window, I went to the Documentation where I found "the syntax is number ^ exponent". It turns out the space either side of the caret is significant, as taken very carefully, that text says. Nonetheless, it would seem worth mentioning, as at least in my experience, spaces around an operator are rarely significant. Further down, the thing is shown in a gray background (
Image). Hard to be certain, but it doesn't look like the spaces are part of it. They should be.

Not sure what "type" of issue this should be...

Page URL

https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/operators/exponentiation-operator

Content source URL

https://github.com/dotnet/docs/blob/main/docs/visual-basic/language-reference/operators/exponentiation-operator.md

Document Version Independent Id

2b3272c5-c7c5-a0f0-528d-47f37ca4e2a1

Platform Id

c1cec2d5-268b-276c-0527-6ae1f170cbbe

Article author

@KathleenDollard

Metadata

  • ID: 1db6850a-fe06-894d-5f2c-96e6691ff8c5
  • PlatformId: c1cec2d5-268b-276c-0527-6ae1f170cbbe
  • Service: dotnet-visualbasic

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions