home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk23
/
dir05
/
f017080.re_
/
f017080.re
Wrap
Text File
|
1996-04-02
|
3KB
|
65 lines
/*----------------------------------------------------------------------+
| |
| Copyright (1995) Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation" is a registered trademark and "MDL" and "MicroCSL" |
| are trademarks of Bentley Systems, Inc. |
| |
| Limited permission is hereby granted to reproduce and modify this |
| copyrighted material provided that the resulting code is used only |
| in conjunction with Bentley Systems products under the terms of the |
| license agreement provided therein, and that this notice is retained |
| in its entirety in any such reproduction or modification. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| $Logfile: J:/mdl/examples/scanfile/scanfcmd.r_v $
| $Workfile: scanfcmd.r $
| $Revision: 1.0 $
| $Date: 23 Jun 1995 19:26:26 $
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| scancmd.r - Scanfile example source code. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| Include Files |
| |
+----------------------------------------------------------------------*/
#include <rscdefs.h>
#include <dlogbox.h>
#include <cmdlist.h>
#include <cmdclass.h>
/* Version 100 */
/*----------------------------------------------------------------------+
| |
| Command Table Definitions |
| |
+----------------------------------------------------------------------*/
#define CT_NONE 0
#define CT_MAIN 1
#define CT_LINKAGE 2
#define CT_SCAN 3
Table CT_MAIN =
{
{1, CT_LINKAGE, PLACEMENT, REQ, "linkage"},
{1, CT_SCAN, PLACEMENT, REQ, "scan"}
};
Table CT_LINKAGE =
{
{2, CT_NONE, PLACEMENT, REQ, "extract"},
{3, CT_NONE, PLACEMENT, REQ, "attach"}
};
Table CT_SCAN =
{
{1, CT_NONE, PLACEMENT, REQ, "linkage"},
};