If you are asking how to convert a .ASP file from older versions of Procomm to the .WAS format from newer versions, this is not directly possible. I have a program on my site that converts from .ASP to version 1.0 .WAS, which would then let you use the Directory and ASPECT Conversion utility that comes with newer versions of Procomm to conver the script to the latest format. However, I have not used this program myself and it may be easier to rewrite the script then send it through two conversion utilities and try to fix what comes out.
I have tryed to rewrite the script but some syntax in the DOS version not have equivalents in the windows version.Please help me convert this file :
-----------------------------------------------------------------
include "Vid_Attr.INC"
;*+ MAIN - Procedure
;
proc MAIN
strlen S1 N0
if (0 < N0)
switch S1 ; Switch base request in S1
case "CODE" ; QE1M Code download
execute "QE1MCode"
endcase
case "ATERM" ; Quad Mapper/Framer Initilization
case "BTERM"
case "ARING"
case "BRING"
case "DRING"
case "INIT"
case "MAP"
case "SOTLB"
case "SYNLB"
execute "QMF_INIT"
endcase
case "QMPS" ; Port Status Routine
execute "PORTSTAT"
endcase
case "REFR" ; Refresh the Screen
case "REF"
S1=S0
S0=$NULL
execute S1
endcase
case "MAIN" ; Quad Mapper/Framer Main Menu
case "M"
clear VAmenu
execute "QMF_Menu"
endcase
case "QUIT" ; Quit to DOS
case "Q"
quit
endcase
case "EXIT" ; Exit to Procomm
case "E"
case "X"
clear VAmenu
exit
endcase
case "RB" ; Read Byte
case "WB" ; Write Byte
execute "QMF_RdWt"
endcase
case "RETURN"
endcase
case "FRAME"
execute "FRAMINIT" ; exit to Framer Operation
endcase
There is no direct correlation for atsay, but you could use termwrites or termputs to write a string to the screen or use sdlgmsgbox to display a message in a dialog box. You can use sbsave to save the scrollback buffer to a text file, or use snapshot to save just the current screen.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.