📄 pbuilder.txt
字号:
*** Calling WSC from Power Builder ***
We do not use the Power Builder compilers, although we have several
customers that do. To use WSC in Power Builder:
1. Install the WSC library in the Power Builder path. Note that for
Power Builder Version 5, this means WSC16.DLL.
2. Declare the functions in the Power builder's Declare global
external function menu:
Function integer SioDone(integer Port) library "Wsc16.dll";
Function char SioGetc(integer Port) library "Wsc16.dll";
...
These functions are defined in the file WSC.PBI.
3. In order to call the functions inside Power Builder, follow this example:
Integer Result, COM1
COM1 = 0
Result = SioGetc(COM1)
If Result < 0 then
SioDone(COM1)
...
return
end if
...
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -