A way to decide in code if a string variable is used or a literal string?

Started by trastikata, Today at 08:47 PM

Previous topic - Next topic

trastikata

Hello all,

I am looking for a way to determine in code if string variable or a literal text has been passed to the procedure which uses some text input.

Because they use different calls "ByRef" vs "BycRef" it would be practical to have a way to decide if "PtrX" vs "cPtrX" rather than making two different procedures and leaving this decision for the user, which might be wrong.


▲