Intel® Fortran Libraries Reference
Intel® Fortran Libraries Reference Intel® Fortran Libraries Reference
2 Intel Fortran Libraries ReferenceSee Also: “APPENDMENUQQ”, “DELETEMENUQQ”, “INSERTMENUQQ”,“MODIFYMENUFLAGSQQ”, “MODIFYMENUSTRINGQQ”, "Using QuickWin" in youruser’s guideMODIFYMENUSTRINGQQQuickWin Function: Changes a menu item’s text string. This function is only available onWindows* systems.Module: USE IFQWINSyntaxresult = MODIFYMENUSTRINGQQ (menuID, itemID, text)menuID(Input) INTEGER(4). Identifies the menu containing the item whose text string is to be changed,starting with 1 as the leftmost item.itemID(Input) INTEGER(4). Identifies the menu item whose text string is to be changed, starting with 0as the top menu item.text(Input) Character*(*). Menu item name. Must be a null-terminated C string. For example, wordsof text'C.Results:The result type is LOGICAL(4). The result is .TRUE. if successful; otherwise, .FALSE..You can add access keys in your text strings by placing an ampersand (&) before the letter youwant underlined. For example, to add a Print menu item with the r underlined, use "P&rint"C astext.CompatibilityQUICKWIN GRAPHICS LIBSee Also: “APPENDMENUQQ”, “DELETEMENUQQ”, “INSERTMENUQQ”,“SETMESSAGEQQ”, “MODIFYMENUFLAGSQQ”, “MODIFYMENUROUTINEQQ”, "UsingQuickWin" in your user’s guideExampleUSE IFQWINLOGICAL(4) resultCHARACTER(25) str2-218
Descriptions of the Library Routines 2! Append item to the bottom of the first (FILE) menustr = '&Add to File Menu'Cresult = APPENDMENUQQ(1, $MENUENABLED, str, WINSTATUS)! Change the name of the first item in the first menustr ='&Browse'Cresult = MODIFYMENUSTRINGQQ (1, 1, str)ENDMOVETO, MOVETO_WGraphics Subroutines: Move the current graphics position to a specified point. No drawingoccurs. These subroutines are only available on Windows* systems.Module: USE IFQWINSyntaxCALL MOVETO (x, y, t)CALL MOVETO_W (wx, wy, wt)x, y(Input) INTEGER(2). Viewport coordinates of the new graphics position.t(Output) Derived type xycoord. Viewport coordinates of the previous graphics position. Thederived type xycoord is defined in IFQWIN.F90 as follows:TYPE xycoordINTEGER(2) xcoord ! x coordinateINTEGER(2) ycoord ! y coordinateEND TYPE xycoordwx, wy(Input) REAL(8). Window coordinates of the new graphics position.wt(Output) Derived type wxycoord. Window coordinates of the previous graphics position. Thederived type wxycoord is defined in IFQWIN.F90 as follows:TYPE wxycoordREAL(8) wx ! x window coordinateREAL(8) wy ! y window coordinateEND TYPE wxycoord2-219
- Page 220 and 221: 2 Intel Fortran Libraries Reference
- Page 222 and 223: 2 Intel Fortran Libraries Reference
- Page 224 and 225: 2 Intel Fortran Libraries Reference
- Page 226 and 227: 2 Intel Fortran Libraries Reference
- Page 228 and 229: 2 Intel Fortran Libraries Reference
- Page 230 and 231: 2 Intel Fortran Libraries Reference
- Page 232 and 233: 2 Intel Fortran Libraries Reference
- Page 234 and 235: 2 Intel Fortran Libraries Reference
- Page 236 and 237: 2 Intel Fortran Libraries Reference
- Page 238 and 239: 2 Intel Fortran Libraries Reference
- Page 240 and 241: 2 Intel Fortran Libraries Reference
- Page 242 and 243: 2 Intel Fortran Libraries Reference
- Page 244 and 245: 2 Intel Fortran Libraries Reference
- Page 246 and 247: 2 Intel Fortran Libraries Reference
- Page 248 and 249: 2 Intel Fortran Libraries Reference
- Page 250 and 251: 2 Intel Fortran Libraries Reference
- Page 252 and 253: 2 Intel Fortran Libraries Reference
- Page 254 and 255: 2 Intel Fortran Libraries Reference
- Page 256 and 257: 2 Intel Fortran Libraries Reference
- Page 258 and 259: 2 Intel Fortran Libraries Reference
- Page 260 and 261: 2 Intel Fortran Libraries Reference
- Page 262 and 263: 2 Intel Fortran Libraries Reference
- Page 264 and 265: 2 Intel Fortran Libraries Reference
- Page 266 and 267: 2 Intel Fortran Libraries Reference
- Page 268 and 269: 2 Intel Fortran Libraries Reference
- Page 272 and 273: 2 Intel Fortran Libraries Reference
- Page 274 and 275: 2 Intel Fortran Libraries Reference
- Page 276 and 277: 2 Intel Fortran Libraries Reference
- Page 278 and 279: 2 Intel Fortran Libraries Reference
- Page 280 and 281: 2 Intel Fortran Libraries Reference
- Page 282 and 283: 2 Intel Fortran Libraries Reference
- Page 284 and 285: 2 Intel Fortran Libraries Reference
- Page 286 and 287: 2 Intel Fortran Libraries Reference
- Page 288 and 289: 2 Intel Fortran Libraries Reference
- Page 290 and 291: 2 Intel Fortran Libraries Reference
- Page 292 and 293: 2 Intel Fortran Libraries Reference
- Page 294 and 295: 2 Intel Fortran Libraries Reference
- Page 296 and 297: 2 Intel Fortran Libraries Reference
- Page 298 and 299: 2 Intel Fortran Libraries Reference
- Page 300 and 301: 2 Intel Fortran Libraries Reference
- Page 302 and 303: 2 Intel Fortran Libraries Reference
- Page 304 and 305: 2 Intel Fortran Libraries Reference
- Page 306 and 307: 2 Intel Fortran Libraries Reference
- Page 308 and 309: 2 Intel Fortran Libraries Reference
- Page 310 and 311: 2 Intel Fortran Libraries Reference
- Page 312 and 313: 2 Intel Fortran Libraries Reference
- Page 314 and 315: 2 Intel Fortran Libraries Reference
- Page 316 and 317: 2 Intel Fortran Libraries Reference
- Page 318 and 319: 2 Intel Fortran Libraries Reference
2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>See Also: “APPENDMENUQQ”, “DELETEMENUQQ”, “INSERTMENUQQ”,“MODIFYMENUFLAGSQQ”, “MODIFYMENUSTRINGQQ”, "Using QuickWin" in youruser’s guideMODIFYMENUSTRINGQQQuickWin Function: Changes a menu item’s text string. This function is only available onWindows* systems.Module: USE IFQWINSyntaxresult = MODIFYMENUSTRINGQQ (menuID, itemID, text)menuID(Input) INTEGER(4). Identifies the menu containing the item whose text string is to be changed,starting with 1 as the leftmost item.itemID(Input) INTEGER(4). Identifies the menu item whose text string is to be changed, starting with 0as the top menu item.text(Input) Character*(*). Menu item name. Must be a null-terminated C string. For example, wordsof text'C.Results:The result type is LOGICAL(4). The result is .TRUE. if successful; otherwise, .FALSE..You can add access keys in your text strings by placing an ampersand (&) before the letter youwant underlined. For example, to add a Print menu item with the r underlined, use "P&rint"C astext.CompatibilityQUICKWIN GRAPHICS LIBSee Also: “APPENDMENUQQ”, “DELETEMENUQQ”, “INSERTMENUQQ”,“SETMESSAGEQQ”, “MODIFYMENUFLAGSQQ”, “MODIFYMENUROUTINEQQ”, "UsingQuickWin" in your user’s guideExampleUSE IFQWINLOGICAL(4) resultCHARACTER(25) str2-218