Topic : The GFA-Basic Compendium Author : GFA Systemtechnik GmbH Version : GFABasic.HYP v2.98 (12/31/2023) Subject : Documentation/Programming Nodes : 899 Index Size : 28056 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : @default : Document not found @help : Help @options : +g -i -s +z @width : 75 @hostname : STRNGSRV @hostname : CAB @hostname : HIGHWIRE @hostname : THING View Ref-FileV_OPNWK(id[,1,1,1,1,1,1,1,1,1,2]) V_CLSWK() id: iexp The numbers 1 and 2 are default values for the settings of the VDI parameters. They can be changed (see WORK_OUT()). The function V_OPNWK() (Open Workstation) returns the handle 'hd' for the specified device 'id'. In addition, further information about the device may be requested by means of INTOUT() and PTSOUT() (see VDISYS in the section 'System Routines'). The optional 10 parameters are as follows: 1 Default line type vsl_type() 2 Default line color vsl_color() 3 Default marker type vsm_type() 4 Default marker color vsm_color() 5 Default font vst_font() 6 Default text color vst_color() 7 Default fill interior vsf_interior() 8 Default fill style vsf_style() 9 Default fill color vsf_color() 10 Coordinate type flag 0 = NDC (Normalized Device Coordinates) 2 = RC (Raster Coordinates) If the parameters are left out, the values '1,1,1,1,1,1,1,1,1,2' are used. The function V_CLSWK() (Close Workstation) closes the current workstation opened with V_OPNWK() and flushes its buffers. In addition a V~H=-1 is carried out. Example: See V_CLRWK(). Memo: V_OPNWK() with the extra parameters does not work correctly in the editor or compiled. V_CLSWK() seems to return INTOUT(0), but it's useless. This VDI call is documented as not having a return value. v_opnwk()+, v_clswk()+