<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:SETBKCOLOR in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241253#M153544</link>
    <description>&lt;P&gt;Brian_C, Thank you for posting in the Intel® Communities Support.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In order for us to be able to provide the most accurate assistance on this matter, I will move your thread to the proper department so they can further assist you with this topic as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Albert R.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;P&gt;A Contingent Worker at Intel&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 28 Dec 2020 16:42:56 GMT</pubDate>
    <dc:creator>Alberto_Sykes</dc:creator>
    <dc:date>2020-12-28T16:42:56Z</dc:date>
    <item>
      <title>SETBKCOLOR</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1240632#M153543</link>
      <description>&lt;P&gt;SETBKCOLOR is included in IFQWIN otherwise my code would not compile with the Fortran compiler in oneAPI, but it gives me unresolved exterrnals in the linker.&amp;nbsp; Has someone messed up IFQWIN when they included it with oneAPI?&amp;nbsp; 3 other subroutines are&amp;nbsp; similar in my outputs:&lt;/P&gt;
&lt;P&gt;Severity Code Description Project File Line Suppression State&lt;BR /&gt;Error error LNK2019: unresolved external symbol __getbkcolor referenced in function _KBCHECK EZSUBS.obj &lt;BR /&gt;Error error LNK2019: unresolved external symbol __setbkcolor referenced in function _KBCHECK EZSUBS.obj &lt;BR /&gt;Error error LNK2019: unresolved external symbol __settextcursor referenced in function _MYCURSOR EZSCREEN.obj &lt;BR /&gt;Error error LNK2019: unresolved external symbol __setvideomode referenced in function _VIDERROR EZSUBS.obj &lt;BR /&gt;Error fatal error LNK1120: 4 unresolved externals Debug\HANDYSUBS.exe&lt;/P&gt;
&lt;P&gt;and now the source code:&lt;/P&gt;
&lt;P&gt;SUBROUTINE KBCheck(jaction)&lt;BR /&gt;!&lt;BR /&gt;! This subroutine checks for keyboard input during a task&lt;BR /&gt;! so the user can cause an immediate return to the main menu&lt;BR /&gt;USE EZVARS !which includes USE IFQWIN&lt;BR /&gt;IMPLICIT NONE&lt;BR /&gt;Logical*4 pressed&lt;BR /&gt;INTEGER jaction,iprev,dummy4,ired&lt;BR /&gt;&lt;BR /&gt;pressed=PEEKCHARQQ() !check for recent keypress&lt;BR /&gt;If(.not. pressed) Then !user press a key?&lt;BR /&gt;jaction=0 !nOP...no action&lt;BR /&gt;Else&lt;BR /&gt;jaction=1 !yes..set action flag&lt;BR /&gt;Call MyBeep !sound an alert&lt;BR /&gt;iprev=GETBKCOLOR() !get present background color&lt;BR /&gt;dummy4=SETBKCOLOR (ired) !set background color to red&lt;BR /&gt;WRITE(mon,910) ' Task stopped due to keypress '&lt;BR /&gt;910 Format(a,a,a,a,a)&lt;BR /&gt;CALL MyOText(mon) !show what happenned&lt;BR /&gt;dummy4=SETBKCOLOR(iprev) !set background to previous color&lt;BR /&gt;ENDIF&lt;BR /&gt;Return !Adios&lt;BR /&gt;End&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 19:49:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1240632#M153543</guid>
      <dc:creator>Brian_C_</dc:creator>
      <dc:date>2020-12-24T19:49:02Z</dc:date>
    </item>
    <item>
      <title>Re:SETBKCOLOR</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241253#M153544</link>
      <description>&lt;P&gt;Brian_C, Thank you for posting in the Intel® Communities Support.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In order for us to be able to provide the most accurate assistance on this matter, I will move your thread to the proper department so they can further assist you with this topic as soon as possible.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Albert R.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Intel Customer Support Technician&lt;/P&gt;&lt;P&gt;A Contingent Worker at Intel&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Dec 2020 16:42:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241253#M153544</guid>
      <dc:creator>Alberto_Sykes</dc:creator>
      <dc:date>2020-12-28T16:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: SETBKCOLOR</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241270#M153546</link>
      <description>&lt;P&gt;Does your compile command line have&amp;nbsp; /libs:qwin on it?&amp;nbsp; USE IFQWIN I don't think is enough because the module bizarrely does not have the required OBJCOMMENT to include the required lib. There is probs a good reason for that but I don't know what it is, maybe compatibility with some older MS lib or whatever.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 17:37:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241270#M153546</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2020-12-28T17:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: SETBKCOLOR</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241273#M153547</link>
      <description>&lt;P&gt;What Andrew said...&lt;/P&gt;
&lt;LI-CODE lang="none"&gt;D:\Projects&amp;gt;type t.f90
use ifqwin
i = GETBKCOLOR()
j = SETBKCOLOR(i)
end
D:\Projects&amp;gt;ifort /libs:qwin t.f90
Intel(R) Fortran Intel(R) 64 Compiler Classic for applications running on Intel(R) 64, Version 2021.1 Build 20201112_000000
Copyright (C) 1985-2020 Intel Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 14.28.29335.0
Copyright (C) Microsoft Corporation.  All rights reserved.

-out:t.exe
-subsystem:windows
t.obj

D:\Projects&amp;gt;ifort&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 28 Dec 2020 17:54:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241273#M153547</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2020-12-28T17:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: SETBKCOLOR</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241674#M153563</link>
      <description>&lt;P&gt;Steve's code proved that setbkcolor is provided correctly but I have a wrong setting.&lt;/P&gt;
&lt;P&gt;I created a new Quickwin project and imported my code and now it all works.&lt;/P&gt;
&lt;P&gt;I still remember creating that bad project as a Quickwin project, though.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Time to let it go.&amp;nbsp; Thanks to both of your.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 15:02:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/SETBKCOLOR/m-p/1241674#M153563</guid>
      <dc:creator>Brian_C_</dc:creator>
      <dc:date>2020-12-29T15:02:30Z</dc:date>
    </item>
  </channel>
</rss>

