There are no problems with the compiler/code or library, it is almost certainly a syntax error. It's hard to provide any more useful suggestions without more information (please post the call you are making).
Note that Scan() is a CVI function and is not the same as the various scanf functions (which also exist in CVI if that's what you are looking for). It uses a slightly different syntax for the format string than is used by scanf. Refer to the CVI help topic "Using the Formatting and Scanning Functions" for explanations, syntax information and examples.
Regards,
Ryan K.