797
[WDX] Tag
Direct Action to Client Machine
Formats
1. Execute: EXECUTE "[WDX]statement"
2. Invoke: INVOKE "[WDX]statement"
4. Open File: OPEN (chan[,fileopt])"[WDX]filename"
Where:
[WDX]
File tag notifies ProvideX that you are directing the action to the
WindX client machine instead of the server.
chan
Channel or logical file number to open.
class$
Name of class for creating new object. String expression.
com_id
Numeric variable to receive a handle (memory pointer to object).
Identifier and parameters for either of the two [WDX]-supported
*device*
special device files (*WINDEV* or *WINPRT*). See *WINDEV* Raw
Q_name
Q_options
filename
Name of the file to open (file must exist on the client PC); e.g.,
or
OPEN (14)"[WDX]"+TMP$
OPEN (14)"[WDX]temp_file"
Function
A ProvideX utility/function, part of the *WindX.utl utility
program. For instance, the *WindX.utl;Spawn function initiates
tasks on the server and/or client.
fileopt
File options. Supported options include:
BSZ=num Buffer size (in bytes)
ERR=stmtref Error transfer
IOL=iolref Default IOList
ISZ=num Open file in binary mode
NBF=num Dedicated number of buffers
OPT=char$ File open options
REC=string$ Record prefix (REC=VIS(string$) can also be used).
objname$
Name by which the COM object is registered in the Windows
system registry subkey HKEY_CLASSES_ROOT.
params
Arguments and variables you pass to the subprogram or function.
If you include a list, it's comma-separated.
port_id
System identifier for the port; e.g., COM1.