12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>PASSDIRKEYSQQQuickWin Function: Determines the behavior of direction and page keys in a QuickWinapplication. This function is only available on Windows* systems.Module: USE IFQWINSyntaxresult = PASSDIRKEYSQQ (val)val(Input) INTEGER(4) or LOGICAL(4).A value of .TRUE. causes direction and page keys to be input as normal characters (thePassDirKeys flag is turned on). A value of .FALSE. causes direction and page keys to be used forscrolling.The following constants, defined in IFQWIN.F90, can be used as integer arguments:• PASS_DIR_FALSE – Turns off any special handling of direction keys. They are not passedto the program by GETCHARQQ.• PASS_DIR_TRUE – Turns on special handling of direction keys. That is, they are passed tothe program by GETCHARQQ.• PASS_DIR_INSDEL – INSERT and DELETE are also passed to the program byGETCHARQQ• PASS_DIR_CNTRLC – Only needed for a QuickWin application, but harmless if used with aStandard Graphics application that already passes CTRL+C.This value allows CTRL+C to be passed to a QuickWin program by GETCHARQQ if thefollowing is true: the program must have removed the File menu EXIT item by usingDELETEMENUQQ.This value also passes direction keys and INSERT and DELETE.Results:The return value indicates the previous setting of the PassDirKeys flag.The return data type is the same as the data type of val; that is, either INTEGER(4) orLOGICAL(4).When the PassDirKeys flag is turned on, the mouse must be used for scrolling since the directionand page keys are treated as normal input characters.The PASSDIRKEYSQQ function is meant to be used primarily with the GETCHARQQ andINCHARQQ functions. Do not use normal input statements (such as READ) with thePassDirKeys flag turned on, unless your program is prepared to interpret direction and page keys.2-240

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!