Forum Discussion
manju nath
Jan 31, 2018Copper Contributor
Inline Functions vba
How to Manage inline functions
manju nath
Jan 31, 2018Copper Contributor
Functions can be instructed to compiler to make them inline so that
compiler can replace those function definition wherever those are being
called. Compiler replaces the definition of inline functions at compile
time instead of referring function definition at runtime. like c++ , can
possible do in vba like example like below Class A { Public: inline int
add(int a, int b) { return (a + b); }; } Class A { Public: int add(int
a, int b); }; inline int A::add(int a, int b) { return (a + b); }
- JKPieterseFeb 01, 2018Silver ContributorThis is a bit greek to me, but if you are referring to the in-line functions (where function A is so to speak wrapped inside function B) like JavaScript enables you to do then the answer is : No, VBA does not have that capability.