Craig B. Markwardt, NASA/GSFC Code 662, Greenbelt, MD 20770
Test the CMSVLIB library
CMSV_TEST, FILENAME, USER_VALUE=UVALUE
CMSV_TEST performs a standard test of the CMSVLIB library. It
reads and writes a save file using several different methods in an
attempt to test the different ways that the library can be used.
The test procedure can be used to verify that the library is
By default, this procedure provides standard values to be written,
but the user can provide one of them with the USER_VALUE keyword.
If the user's data contains pointers, they must expect tests
listed under CMSVREAD and CMSVWRITE to fail.
By default the file is written in the current directory, but this
can be changed with the FILENAME parameter.
This procedure is part of the CMSVLIB SAVE library for IDL by
Craig Markwardt. You must have the full CMSVLIB core package
installed in order for this procedure to function properly.
Research Systems, Inc. has issued a separate license intended
to resolve any potential conflict between this software and the
IDL End User License Agreement. The text of that license
can be found in the file LICENSE.RSI, included with this
FILENAME - a scalar string, the output path.
Default: 'CMSVTEST.SAV' in current directory
USER_VALUE - any IDL variable to be saved, in place of variable
"C" in the test.
CMRESTORE, SAVE, RESTORE, CMSVLIB
Documented, 24 Jan 2001
Resolve all routines at start, and add VMS keyword, 14 Feb 2001, CM
Make version checks with correct precision, 19 Jul 2001, CM
Added notification about RSI License, 13 May 2002, CM
Changed test so that 'DEADBEEF'XL is not used, which apparently
causes problems on 'FL', 01 Aug 2009
Add test for strings >127 characters (v1.7), 2012-04-05, CM