•  Back 
  •  VDI FSMGDOS 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filev_loadcache()
v_flushcache()
v_savecache()                                                           VDI

Syntax

WORD v_savecache( handle, fname )
WORD handle;
char *fname;

Function      v_savecache() saves the current outline cache.

Opcode        249

Availability  Available only with FSMGDOS or SpeedoGDOS.

Parameters    handle specifies a valid workstation handle. fname specifies
              the GEMDOS file specification of the cache file to save.

Binding       WORD i = 0;

              while(intin[i++] = (WORD)*fname++);

              contrl[0] = 249;
              contrl[1] = 0;
              contrl[3] = --i;
              contrl[6] = handle;

              vdi();

              return intout[0];

Return Value  v_savecache() returns 0 if successful or -1 if an error
              occurred.

Comments      This call only saves the portion of the cache responsible
              for storing bitmaps created from outlines.

See Also      v_loadcache(), v_flushcache()

Group         VDI FSMGDOS