home *** CD-ROM | disk | FTP | other *** search
- /*
- * $VER: Load_Mapped.ifx 2.6 (24.04.96)
- * Copyright © 1992-1996 Nova Design, Inc.
- * Written by Thomas Krehbiel
- *
- * Load a file as a colormapped image.
- *
- * Inputs:
- * Word(Arg(1),1) = Frame number (1 - N)
- * Word(Arg(1),2) = Main filename ("-" if not specified)
- * Word(Arg(1),3) = Swap filename ("-" if not specified)
- * Word(Arg(1),4) = Sequence number
- * Word(Arg(1),5) = Total number of frames (N)
- *
- * Returns:
- * 0 if successful, non-zero on failure
- *
- */
-
- OPTIONS RESULTS
-
- /*
- * AutoFX 2.6 now sets some clip variables. If we find them, use them instead
- * of the arg strings so that we can handle filenames with spaces in them.
- */
-
- MainName = GETCLIP('AUTOFX_MAIN')
- IF MainName = "" THEN MainName=word(Arg(1),2)
-
- LoadMapped '"'MainName'"'
-
- EXIT rc
-