Guest User

Untitled

a guest
Aug 22nd, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. I could declare an array thus:
  2.  
  3. dim arrTest() as variant
  4.  
  5. or thus:
  6.  
  7. dim arrTest as variant
  8. arrtest = array()
  9.  
  10. however, the first can only be passed as an argument like this:
  11.  
  12. sub(byref array() as variant)
  13.  
  14. and the second like this:
  15.  
  16. sub(byref array as variant)
  17.  
  18. What is the difference between a variable object declared the first way, and a variable object declared the second? Why do macros treat them differently?
Advertisement
Add Comment
Please, Sign In to add comment