SilverScreen Solid Modeler

undo_add_command

undo_add_command

Previous topic Next topic  

undo_add_command

Previous topic Next topic JavaScript is required for the print function  

 

SilverScreenAPI

 

BOOLEAN undo_add_command ( char *command )

 

char *command;   // A pointer to a null-terminated character string

 

 

 




Synopsis

#include "silver.h"

 

The undo_add_command function records a command to the undo system. The command will be executed when undoing the current command.

 

 

Parameters

command is a null-terminated character string that is a SilverScreen command

 

 

Return Value

undo_add_command returns TRUE if the undo system is active and command is not NULL and command was successfully recorded. It returns FALSE otherwise.

 

 

See Also

Undo System Usage, redo_add_command