TECHNICAL BULLETIN #131 - Rev 1.00 (6/9/98) ============================================================================== TITLE : ASPECT Command Conversions from PCPLUS for DOS to Procomm Plus 4.x PRODUCT : PROCOMM PLUS for Windows 4.x ============================================================================== If you have ASPECT scripts written for PCPLUS for DOS and you want to convert them for use in Procomm Plus for Windows version 4.x. you can use the following table. It lists all the PCPLUS ASPECT commands and their Procomm Plus for Windows version 4.x equivalents. Note, for some of the PCPLUS commands, there are no equivalents and you may have to change the syntax of the source code. PCPLUS PW 4.x ------ ------ ADD Use + ALARM ALARM AND Use & ANDL Use && ASSIGN Use = ATGET LOCATE then TERMGETS or TERMGETC ATOF ATOF ATOI ATOI ATOL ATOL ATSAY LOCATE then TERMWRITES or TERMWRITEC BLANKON --------- BLINKON SET TERMINAL BLINKRATE BOLDON -------- BOX Use Dialog Box commands BREAK BREAK BYE ---------- CALL CALL CASE CASE CEIL CEIL CHDIR CHDIR CLEAR CLEAR COMGETC COMGETC COMGETCD COMGETC COMMENT #COMMENT COMP ------------- COMPUTC COMPUTC CONNECT EXIT CURDN LOCATE CURLF LOCATE CUROFF --------- CURON ---------- CURRT LOCATE CURUP LOCATE CWHEN WHEN CLEAR DATE Use $DATE DEC Use - (minus minus) DEFAULT DEFAULT DEFINE #DEFINE DELETE DELFILE DELCHAR ------------- DELLINE ------------ DIAL DIAL or CONNECT DIMON ---------- DIR DIR DISKFREE DISKFREE DIV Use / DLOAD DIALLOAD DOS DOS DOSVER ----------- DSCROLL ------------- EBOL ------- EBOS ------- EEOL ------- EEOS ------- ELSE ELSE $ELSE #ELSE ELSEIF ELSEIF $ELSEIF #ELSEIF EMULATE SET TERMINAL TYPE ENDCASE ENDCASE ENDCOMMENT #ENDCOMMENT ENDFOR ENDFOR ENDIF ENDIF $ENDIF #ENDIF ENDPROC ENDPROC ENDSWITCH ENDSWITCH ENDWHILE ENDWHILE EOF FEOF EQ Use IF X == Y ERRORMSG ERRORMSG EXECUTE RUN EXIT EXIT EXITFOR EXITFOR EXITSWITCH EXITSWITCH EXITWHILE EXITWHILE FATSAY Use LOCATE then STRFMT then TERMWRITES FCLEAR FCLEAR FCLOSE FCLOSE FETCH FETCH FFLUSH FFLUSH FGETC FGETC FGETS FGETS FIND STRFIND FINDFIRST FINDFIRST FINDNEXT FINDNEXT FLOAT FLOAT FLOATPARM FLOATPARM FLOOR FLOOR FOPEN FOPEN FOR FOR FPUTC FPUTC FPUTS FPUTS FREAD FREAD FSEEK FSEEK FSTRFMT FSTRFMT FTELL FTELL FTOA FTOA FWRITE FWRITE GE Use IF X >= Y GET TERMREADS or TERMREADC GETCUR GETCUR GETDIR GETDIR GETENV GETENV GETFATTR FILEGET GETFDATE FILEGET GETFILE GETFILE GETFSIZE FILEGET GETFTIME FILEGET GETVATTR --------------- GETVCHAR ----------- GOSUB CALL GOTO GOTO GT Use IF X > Y HANGUP HANGUP HELP HELP HOME LOCATE HOOK -------------- HOST EXECUTE "HOST.WAS" IF IF $IFDEF #IFDEF INC Use ++ INCLUDE #INCLUDE INIT --------- INPORT -------- INSCHAR -------- INSLINE -------- INTEGR INTEGER INTPARM PARAM INTEGER ISFILE ISFILE ITOA ITOA KERMSERVE KERMSERVE KEY2ASCII KEYTOANSI KEYGET KEYGET KFLUSH KEYFLUSH KLOAD SET TERMINAL KEYBOARDFILE LE Use IF X <= Y LINEFEED LOCATE LOCATE LOCATE LOG CAPTURE LONG LONG LONGJMP LONGJMP LONGPARM PARAM LONG LOOPFOR LOOPFOR LOOPWHILE LOOPWHILE LT Use IF X < Y LTOA LTOA MATGET LOCATE then TERMWRITES (not masked) MDIAL DIAL or CONNECT MEMFREE MEMFREE MEMPEEK -------- MEMPOKE ------- MEMREAD MEMREAD MEMWRITE MEMWRITE MESSAGE USERMSG METAKEY METAKEY MGET LOCATE then TERMREADS (not masked) MKDIR MKDIR MLOAD SET METAKEY FILE MOD MOD MSPAUSE MSPAUSE MUL Use * NEG Use X = -Y NEQ Use IF x != Y NORMON -------- NOT ------ NULL NULLSTR OR Use | ORL Use || OUTPORT ----------- PARMREST ---------- PARMSAVE ---------- PAUSE PAUSE PRINTER PRINTCAPTURE PROC PROC PUSHBACK ---------- PUTENV PUTENV PUTVATTR --------- PUTVCHAR ---------- QUIT QUIT RCA --------- RDWRITE ------- REDIAL ------------ RENAME RENAME RETURN RETURN REVON ------------ REWIND REWIND RFLUSH RXFLUSH RGET RGET RMDIR RMDIR RSTRCMP RSTRCMP RUN RUN SCROLL --------- SENDFILE SENDFILE SET SET SETFATTR FILESET SETFDATE FILESET SETFTIME FILESET SETJMP SETJMP SHELL SHELL SHL Use << SHR Use >> SNAPSHOT SNAPSHOT SOUND SET WAVEFILE STATREST ------- STRCAT STRCAT STRCMP STRCMP STRCPY STRCPY STRFMT STRFMT STRING STRING STRLEN STRLEN STRLWR STRLWR STRPARM PARAM STRING STRPEEK STRGETC STRPOKE STRPUTC STRSET STRSET STRUPDT STRUPDT STRUPR STRUPR SUB Use - SUBSTR SUBSTR SUSPEND UNTIL Use WHEN $TIME24 SWITCH SWITCH TERMINAL ----------- TERMKEY TERMKEY TERMRESET ---------- TERMWRT --------- TIME Use $TIME TRANSMIT TRANSMIT TYPE ------------ ULINEON --------- UNDEF #UNDEF USERMSG USERMSG VIDREST ---------- VIDSAVE ---------- WAITFOR WAITFOR WAITQUIET WAITQUIET WHEN WHEN WHILE WHILE WRITEC ------- XOR Use ^ ZERO ---------- ========================================================================== To ensure that you have the latest version of this document, compare its revision number to that of the same document on any of our support sites. This technical bulletin may be copied and distributed freely as long as it is distributed in its entirety and it is not distributed for profit. Copyright (c) 1996 Quarterdeck All rights reserved. ==========================================================================