Returning from a function There are two versions of some functions: a return Variant data type, and another returns a String data type. The Variant version is more convenient because the deformation automatically handles different types of transmission. They also allow NULL to be sent through expressions. The String version is more efficient because they use fewer memory. Use String versions when there is the following cases:
The program is large and uses a lot of variables. Write the data directly to a random access file. When a dollar symbol ($) is added later after the function name, the following functions return a value for the Sting variable. If these functions do not add US dollar symbol usage and syntax equivalent to Variant.
Chr $ ChrB $ * Command $ CurDir $ Date $ Dir $ Error $ Format $ Hex $ Input $ InputB $ LCase $ Left $ LeftB $ LTrim $ Mid $ MidB $ Oct $ Right $ RightB $ RTrim $ Space $ Str $ String $ Time $ TIM $ UCASE $