TECHNICAL BULLETIN #101 - Rev 1.00 (8/3/98) ============================================================================== TITLE : Conversion Chart for ASPECT Commands in PW1 to PW4.x PRODUCT : PROCOMM PLUS for Windows , version 1.x and 4.x ============================================================================== If you have ASPECT scripts written for Procomm Plus ver 1.x, and you want to convert them for use in Procomm Plus ver. 4.x, you can use the following table. It lists all the Procomm Plus ver.1.x commands and their Procomm Plus version 4.x equivalents. Note, for some of the Procomm Plus ver. 1.x commands, there are no equivalents and you may have to change the syntax of the source code. PW 1.x PW 4.x actionbar set actionbar actuvatetask taskactivate activatewin winactivate add use + alarm alarm and use & andl use && ansitokey ansitokey assign use = atof atof atoi atoi atol atol beep beep bitmap bitmap bitmapbkg bitmapbkg break break breakpoint breakpoint call call capture capture capturestr capturestr case case ceil ceil chain chain chdir chdir checkbox checkbox clear clear clearwhen when event clear clearxoff clearxoff cliptofile cliptofile closepw pwexit closewin exitwindows combobox combobox comgetc comgetc comgets comread #comment #comment comp ------------- computc computc computs comwrite copyfile copyfile crc16 crc16 date use $date ddeadvise ddeadvise ddeexecute ddeexecute ddeinit ddeinit ddepoke ddepoke dderequest dderequest ddeterminate ddeterminate ddeunadvise ddeunavise dec use - (minus minus) default default #define #define defuserwin uwincreate delfile delfile destroydlg dlgdestroy dial dial or connect dialadd dial dialcancel dialcancel dialcreate dialcreate dialdir --------------------- dialfind dialfind dialload dialload dialname dialname dialnumber dialnumber dialogbox dialogbox dialqueue ------------------- dialsave dialsave dir dir dirlistbox dirlistbox dirpath dirpath disable disable diskfree diskfree div use / dllcall dllcall dllfree dllfree dllload dllload dllobject dllobject dllobjfile dllobjfile dllobjupdt dllobjupdt dos dos editbox editbox else else #else #else elseif elseif #elifdef #elifdef #elifndef #elifndef enable enable endcase endcase #endcomment #endcomment endfor endfor endfunc endfunc endif endif #endif #endif endproc endproc endswitch endswitch endwhile endwhile eq use if x == y errormsg errormsg execute execute exit exit exitfor exitfor exitswitch exitswitch exittask taskexit exitwhile exitwhile exitwindows exitwindows fclear fclear fclose fclose fcombobox fcombobox feditbox feditbox feof feof ferror ferror fetch fetch fflush fflush fgetc fgetc fgetf fgets then atof fgeti fgets then atoi fgetl fgets then atol fgets fgets filetoclip filetoclip findfirst findfirst finditem --------------------- findnext findnext firsttask firsttask flistbox flistbox float float floatparm parm float floor floor fopen fopen for for fputc fputc fputf ftoa then fputs fputi itoa then fputs fputl ltoa then fputs fputs fputs fread fread fseek fseek fstrfmt fstrfmt ftell ftell ftext ftext ftoa ftoa fullpath fullpath func func fwrite fwrite ge use if x >= y getdir getdir getdisk fullpath getenv getenv getfattr fileget getfdate fileget getfile getfile getfltime fileget getfsize fileget getftime fileget getitem --------------- getwintext --------------- goto goto groupbox groupbox gt use if x > y halt halt hangup hangup help help hextonum strtonum hidewin winhide hotspot hotspot icon icon iconbutton iconbutton if if #ifdef #ifdef #ifndef #ifndef inc use ++ #include #include init --------- integer integer intparm param integer intsltime intsltime isfile isfile istask taskexists iswindow winexists itoa itoa kermserve kermserve keyflush keyflush keyget keyget keystate keystate keytoascii keytoansi le use if x <= y listbox listbox locate locate long long longjmp longjmp longparm param long loopfor loopfor loopwhile loopwhile lt use if x < y ltimeints ltimeints ltimestring ltimestring ltimestrs ltimestrs ltoa ltoa maximize winmaximize mciexec mciexec memfree memfree menubar menubar menuitem menuitem menupopup menupopup metafile metafile metafilebkg metafilebkg metakey metakey metakeys set metakey minimize winminimize mkdir mkdir mod mod monitormode set monitormode moveobject objmove movewin winmove mspause mspause mul use * neg use x = -y neq use if x != y newitem --------------------- nexttask nexttask not ------ nullstr nullstr numtohex numtostr or use | orl use || paint uwinpaint pastetext pastetext pause pause pkmode pkmode pkrecv pkrecv pksend pksend playback playback printalign printalign printattr printattr printcapture printcapture printchar printchar printer printer printfit printfit printfont printfont printmargin printmargin printselect ------------------- printstr printstr printtabs printtabs printtabstr printtabstr proc proc profilerd profilerd profilewr profilewr pushbutton pushbutton putenv putenv pwtitlebar pwtitlebar radiobutton radiobutton remove uwinremove rename rename restorewin winrestore restsetup setup restore return return rewind rewind rget rget rmdir rmdir rstrcmp rstrcmp run run rxflush rxflush savesetup setup save sbsave sbsave screentowin screentowin sdlgfopen sdlgfopen sdlginput sdlginput sdlgmsgbox sdlgmsgbox sdlgsaveas sdlgsaveas sendfile sendfile sendkey sendkay sendkeystr sendkeystr sendvkey sendvkey set set setfattr fileset setfdate fileset setfltime fileset setfocus winfocus setfsize fileset setftime fileset setjmp setjmp setpointer setponter setup setup shell shell shl use << showmenu menushow showwin winshow shr use >> sizewin winsize snapshot snapshot statclear statclear statmsg statmsg strcat strcat strcmp strcmp strcmpi stricmp strcpy strcpy strdelete strdelete strextract strextract strfind strfind strfmt strfmt string string strlen strlen strlwr strlwr strparm param string strpeek strgetc strpoke strputc strquote strquqote strreplace strreplace strright strright strsearch strsearch strset strset strsltime strsltime strupdt strupdt strupr strupr sub use - substr substr suspend until use when $time24 switch switch taskname taskname taskpath taskpath taskwin taskwin termgetc termgetc termgets termgets termkey termkey termreset termreset termvkey termvkey termwritec termwritec termwrites termwtires text text time use $time time24 ------------------ transmit transmit txflush txflush type ------------ #undef #undef updatedlg dlgupdate usermsg usermsg uwutowin uwutowin vtext text waitfor waitfor waitquiet waitquiet when when while while wincoord wincoord wintask wintask wintoscreen wintoscreen wintouwu wintouwu xfercancel xfercancel 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) 1998 Quarterdeck All rights reserved. ==========================================================================