Is void for c++ the same as Sub for VBA Excel or procedure for Delphi/Pascal? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is void for c++ the same as Sub for VBA Excel or procedure for Delphi/Pascal?

A function in VBA or Delphi starts with 'function' and a void (if my assumption is correct) with 'Sub' or 'procedure'.

6th Sep 2017, 10:12 PM
Jona Than
Jona Than - avatar
2 Answers
+ 1
Yes. They are all the same thing, just with different names. (function that don't return a value)
6th Sep 2017, 10:29 PM
Daniel de Lizaur
0
Thank you
7th Sep 2017, 7:33 AM
Jona Than
Jona Than - avatar