Jul 25, 2010
09:50 AM
Hi all, In the documentation I saw this statement: An autosized string variable that is passed by reference to a function is not autosized within the called function. If the function attempts to assign a value whose length is greater than the current size of that parameter, run-time error 401 occurs Yet, when I tried this situation everything worked ok even if an autosized string was passed by reference and was resized inside the function. prototype xxx(byref string, byref string); a = "a"; b = "b"; xxx(a,b); // Will assign larger string constants into the arguments So, should I adapt my code to the above statement or not? Thanks, Assaf.
... View more
Labels
- Labels:
-
InstallShield 2008
Latest posts by Assafs
Subject | Views | Posted |
---|---|---|
2553 | Jul 25, 2010 09:50 AM |
Activity Feed
- Posted Autosized Strings by ref in InstallScript on InstallShield Forum. Jul 25, 2010 09:50 AM