SL_ExtractMacro


NAME
SL_ExtractMacro -- extracts a macro handle into a buffer.

SYNOPSIS
len = SL_ExtractMacro(macrohandle, buffer, bufsize);
D0 A0 A1 D0

SLMSIZE SL_ExtractMacro(MACROHANDLE, SLCHAR *, SLMSIZE);

FUNCTION
Places the macro identified by macrohandle into a buffer with each
command line separated by the new line SLCHARacter(s) for the underlying
OS.
The format of the buffer is plain ASCII.

INPUTS
macrohandle - the macro to extract.
buffer - the buffer that will hold the extracted macro.
bufsize - the size of the buffer.

RESULTS
len - how many bytes were actually placed into the buffer.

SEE ALSO
SL_CreateMacro, SL_FreeMacro, SL_PlayMacro, SL_SaveMacro, SL_MacroLength.

 

SL_ExtractMacro  Command Section By Type  url:SL_ExtractMacro
  created:2008-03-01 23:36:28   last updated:2008-03-01 23:36:28
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_ExtractMacro
There are no user contributed comments for this page.