Change in Function operation?
#4
https://qb64phoenix.com/qb64wiki/index.php/MEM

It has a relation to example #3 of the page indicated above. I offered at least one program on this forum which used "ConvertOffset()" but couldn't supply it the way it was shown on that page. I'm glad it was changed to how it is now. Using a "FUNCTION's" name like a variable is a source of confusion. That's why I liked Free Pascal (at least the 32-bit Windows version I had) allowing "Result" or "Function" on LHS of assignment inside a function to set the function's return value.
Reply


Messages In This Thread
Change in Function operation? - by dano - 09-17-2022, 11:59 AM
RE: Change in Function operation? - by bplus - 09-17-2022, 12:04 PM
RE: Change in Function operation? - by RhoSigma - 09-17-2022, 12:28 PM
RE: Change in Function operation? - by mnrvovrfc - 09-17-2022, 02:09 PM
RE: Change in Function operation? - by dano - 09-18-2022, 06:59 PM



Users browsing this thread: 2 Guest(s)