1 Replies - 546 Views - Last Post: 09 October 2012 - 04:16 AM Rate Topic: -----

#1 fsdfsdfsd1  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 21
  • Joined: 04-October 12

doubt in vb

Posted 09 October 2012 - 04:13 AM

Functon Expand(byref ima as integer,byref ima1 as integer)As boolean




i couldnt understand this line
in the code it just pass the reference of integer values then what is the need of boolean here.....


Is This A Good Question/Topic? 0
  • +

Replies To: doubt in vb

#2 DimitriV  Icon User is offline

  • Don't try to save yourself… the circle is complete
  • member icon

Reputation: 544
  • View blog
  • Posts: 2,632
  • Joined: 24-July 11

Re: doubt in vb

Posted 09 October 2012 - 04:16 AM

The function is supposed to take in the values of two integers. Within the function, the values are tested and somewhere along the line, out comes a Boolean. The "As Boolean" on the end tells the compiler that a Boolean is going to be returned by this function.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1