simple syntax question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SpaceMarine

    simple syntax question

    hello,

    in the following code:

    Dim report As Report = CreateReport()

    report!OFFICER_ 1 = Global.Officer1
    report!OFFICER_ 2 = Global.Officer2
    report!UNIT_NUM BER = Global.Officer1 .UnitNumber

    ....can someone please explain what the "!" syntax is in the last three
    lines? those arent properties of the Report object itself, so i am
    confused.


    thanks!
    sm
  • Herfried K. Wagner [MVP]

    #2
    Re: simple syntax question

    "SpaceMarin e" <spacemarine@ma ilinator.comsch rieb:
    Dim report As Report = CreateReport()
    >
    report!OFFICER_ 1 = Global.Officer1
    report!OFFICER_ 2 = Global.Officer2
    report!UNIT_NUM BER = Global.Officer1 .UnitNumber
    >
    ...can someone please explain what the "!" syntax is in the last three
    lines? those arent properties of the Report object itself, so i am
    confused.
    See:

    Special Characters in Code
    <URL:http://msdn2.microsoft .com/en-us/library/xxda45fy.aspx>
    -"Exclamatio n Point (!) Operator"

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    • SpaceMarine

      #3
      Re: simple syntax question

      On Apr 7, 8:30 pm, "Herfried K. Wagner [MVP]" <hirf-spam-me-
      h...@gmx.atwrot e:
      See:
      >
      Special Characters in Code
      <URL:http://msdn2.microsoft .com/en-us/library/xxda45fy.aspx>
      -"Exclamatio n Point (!) Operator"
      i see. is this a VB.NET only thing?


      thanks
      sm

      Comment

      Working...