Strings in BASIC+ are not null-terminated. If a function requires a null-terminated string, you must explicitly concatenate a Char(0) to the string. Failure to do so can cause unpredictable behavior, such as unexpected termination of Windows or OpenInsight.

Examples of techniques for passing and receiving string arguments are illustrated in the following topics:

GetWindowsDirectory()

GetSystemDirectory()

  • No labels