Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_IIF limits two questions
#10
(12-23-2024, 01:15 AM)a740g Wrote:
Quote:but it would be nice if the built-in _IIF command just worked with whatever type you passed in for parameters 2 & 3 (as long as parameters 2 & 3 aren't 2 different types)... 
It does.
That's a really cool improvement, thanks guys! 

Along those lines, I don't suppose it would be possible (or universally appreciated) to support operator overloading in functions? ie you can define a function x that receives certain parameter types, and define one or more additional functions also called x but receiving different parameters, where the compiler will know which definition to use based on the parameter types sent? In other words, it would allow someone to define a function that works with different parameter types like _iif does.
Reply


Messages In This Thread
_IIF limits two questions - by doppler - 12-20-2024, 07:06 PM
RE: _IIF limits two questions - by Petr - 12-20-2024, 08:03 PM
RE: _IIF limits two questions - by bplus - 12-20-2024, 09:07 PM
RE: _IIF limits two questions - by doppler - 12-21-2024, 02:00 AM
RE: _IIF limits two questions - by Pete - 12-20-2024, 11:44 PM
RE: _IIF limits two questions - by Pete - 12-21-2024, 12:02 AM
RE: _IIF limits two questions - by madscijr - 12-22-2024, 08:49 PM
RE: _IIF limits two questions - by bplus - 12-21-2024, 02:56 AM
RE: _IIF limits two questions - by a740g - 12-23-2024, 01:15 AM
RE: _IIF limits two questions - by madscijr - 12-23-2024, 03:53 AM



Users browsing this thread: 1 Guest(s)