diff --git a/scan.c b/scan.c index 3d9823dd..97ca1140 100644 --- a/scan.c +++ b/scan.c @@ -1724,6 +1724,12 @@ int ScanWrapper(SConnection * pCon, SicsInterp * pSics, void *pData, SCWrite(pCon, pBueffel, eValue); return 1; } +/*-------- isactive */ + else if (strcmp(argv[1], "isactive") == 0) { + snprintf(pBueffel,sizeof(pBueffel)-1, "%s.active = %d", argv[0], self->iActive); + SCWrite(pCon, pBueffel, eValue); + return 1; + } /*--------- getvardata */ else if (strcmp(argv[1], "getvardata") == 0) { /* we need an integer parameter saying which */