0

Is there any way to enhance and get information about the := operator?

How can I use this operator and what is the benefit? I tried to search engines but found nothing.

have a look:

xlssheat = Nothing
xlsfile.Close(SaveChanges := True)
CodesInChaos
  • 106,488
  • 23
  • 218
  • 262
Medo Medo
  • 952
  • 2
  • 12
  • 21

1 Answers1

1

there is a lot on the msdn site

http://msdn.microsoft.com/en-us/library/51wfzyw0.aspx

In short the operator is used to supply values for an argument based on the name of the argument rather than the position of the argument in the arguments list.

Rune FS
  • 21,497
  • 7
  • 62
  • 96
Mike Miller
  • 16,195
  • 1
  • 20
  • 27
  • 1
    Answers are suppossed to include, well answers. Not link to external ressources that might provide the answer. This is for several reasons one of them being. Links have a tendency to become dysfunc over time resulting in the answer no longer being available – Rune FS Jun 25 '12 at 10:22
  • @RuneFS you are quite right and I will expand out the answer in future. As this is already flagged as a dupe I'll leave it be. – Mike Miller Jun 25 '12 at 10:38