<?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 quickwin example code in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874604#M73374</link>
    <description>&lt;P&gt;I am having some trouble finding any example Fortran QuickWin code. I have programmed in Fortran for many years but have stayed blissfully ignorant of Windows programming. I have been asked to add a progress bar to a console application. What I am looking for is a VERY basic first example / tutorial / introduction to dealing with windows in Fortran. Any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;David Bradley&lt;/P&gt;
&lt;P&gt;bradley@tess-inc.com&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jan 2009 23:59:12 GMT</pubDate>
    <dc:creator>trnsys</dc:creator>
    <dc:date>2009-01-02T23:59:12Z</dc:date>
    <item>
      <title>quickwin example code</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874604#M73374</link>
      <description>&lt;P&gt;I am having some trouble finding any example Fortran QuickWin code. I have programmed in Fortran for many years but have stayed blissfully ignorant of Windows programming. I have been asked to add a progress bar to a console application. What I am looking for is a VERY basic first example / tutorial / introduction to dealing with windows in Fortran. Any help would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;David Bradley&lt;/P&gt;
&lt;P&gt;bradley@tess-inc.com&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2009 23:59:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874604#M73374</guid>
      <dc:creator>trnsys</dc:creator>
      <dc:date>2009-01-02T23:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: quickwin example code</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874605#M73375</link>
      <description>&lt;DIV style="margin: 0px; height: auto;"&gt;&lt;/DIV&gt;
&lt;P&gt;Simple QuickWin example follows:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;PRE&gt;[cpp]print *, "Hello, world!"&lt;BR /&gt;end[/cpp]&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The thing about QuickWin is that you can take an ordinary Fortran "console" application, build it as a QuickWin application, and you have an instant "Windows look and feel". You can then add functionality (menus, graphics, dialogs, etc.) as you desire.&lt;/P&gt;
&lt;P&gt;A few QuickWin samples ship with the compiler. Calendar is probably the simplest. Others show advanced techniques.&lt;/P&gt;
&lt;P&gt;Let me suggest, though, that you look at Jugoslav Dujic's free &lt;A href="http://www.xeffort.com/"&gt;xeffort library&lt;/A&gt;. A progress bar can be added to most applications without too much effort.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jan 2009 00:04:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874605#M73375</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-01-03T00:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: quickwin example code</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874606#M73376</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;Here's an example I whipped up tonight based on an MSDN sample. It consists of a module with three routines, one to create a progress bar, one to set the position in percent done and one to remove it, plus a test program that uses the module.&lt;/P&gt;
&lt;P&gt;In this example, the progress bar is always placed along the bottom of the foreground window and has no other content. Using a dialog box with a progress bar control, and maybe a string that you update with the numerical percent done, is also possible (different coding technique.)&lt;/P&gt;</description>
      <pubDate>Sat, 03 Jan 2009 01:45:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874606#M73376</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2009-01-03T01:45:27Z</dc:date>
    </item>
    <item>
      <title>I have started looking at</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874607#M73377</link>
      <description>&lt;P&gt;I have started looking at using a progress bar but found these two examples no longer available. Should I be looking somewhere else or can they be restored?&lt;/P&gt;
&lt;P&gt;Neels&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 05:54:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874607#M73377</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2013-07-02T05:54:41Z</dc:date>
    </item>
    <item>
      <title>A MSDN C example is at http:/</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874608#M73378</link>
      <description>&lt;P&gt;A MSDN C example is at&amp;nbsp;&lt;A href="http://msdn.microsoft.com/en-us/library/windows/desktop/hh298373(v=vs.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/windows/desktop/hh298373(v=vs.85).aspx&lt;/A&gt;&amp;nbsp;converting to fortran would only yake a few minutes.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 06:52:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874608#M73378</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2013-07-02T06:52:39Z</dc:date>
    </item>
    <item>
      <title>Actually you have prompted me</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874609#M73379</link>
      <description>&lt;P&gt;Actually you have prompted me as I need a progress bar, I made a test routine below based on the MSDN sample.&lt;/P&gt;
&lt;P&gt;![fortran]&lt;BR /&gt;subroutine msdn_progress_bar_use_example()&lt;BR /&gt; use ifqwin&lt;BR /&gt; use ifwin&lt;BR /&gt; implicit none&lt;BR /&gt; integer l1&lt;BR /&gt; type(T_RECT) :: rcClient ! ! Client area of parent window.&lt;BR /&gt; integer(4) :: cyVScroll; ! Height of scroll bar arrow.&lt;BR /&gt; integer(handle) :: hwndPB ! Handle of progress bar.&lt;BR /&gt; integer(bool) :: bret&lt;BR /&gt; integer(LRESULT) :: ires&lt;BR /&gt; integer(LONG_PTR) :: lParam_range !or whatever 16 bits max as range is lower part of 32 bit value&lt;BR /&gt; !stuff we need to supply.....&lt;BR /&gt; integer(handle) :: hwndParent ! handle of parent window &lt;BR /&gt; integer(UINT_PTR) :: step = 1 &lt;BR /&gt; integer(LONG_PTR) :: range_min =0, range_max=100&lt;BR /&gt; lParam_range=ishft(range_max,16) + range_min !hi word, low word 16bit + 16bit&lt;BR /&gt; ! Ensure that the common control DLL is loaded&lt;BR /&gt; !InitCommonControls() !required for windows 95 or ealier&lt;BR /&gt; hwndParent = GETHWNDQQ (QWIN$FRAMEWINDOW ) !make the qwin frame window the parent of the progress bar&lt;BR /&gt; ! Base the height of the progress bar on the height of a scroll bar arrow. &lt;BR /&gt; bret = GetClientRect(hwndParent, rcClient)&lt;BR /&gt; cyVScroll = GetSystemMetrics(SM_CYVSCROLL) &lt;BR /&gt; !create a progress bar along the bottom of the client area of the parent window. &lt;BR /&gt; hwndPB = CreateWindowEx(0, PROGRESS_CLASS, NULL, &amp;amp;&lt;BR /&gt; ior(WS_CHILD, WS_VISIBLE), rcClient%left,&amp;amp; &lt;BR /&gt; rcClient%bottom - cyVScroll, &amp;amp;&lt;BR /&gt; rcClient%right, cyVScroll, &amp;amp;&lt;BR /&gt; hwndParent, 0, 0, NULL) &lt;BR /&gt; !FUNCTION SendMessage(hWnd,Msg,wParam,lParam) ! sendmessage interface for ref user32.f90&lt;BR /&gt; ! integer(LRESULT) :: SendMessage ! LRESULT&lt;BR /&gt; ! integer(HANDLE) hWnd ! HWND hWnd&lt;BR /&gt; ! integer(UINT) Msg ! UINT Msg&lt;BR /&gt; ! integer(UINT_PTR) wParam ! WPARAM wParam&lt;BR /&gt; ! integer(LONG_PTR) lParam ! LPARAM lParam&lt;BR /&gt; !END FUNCTION&lt;BR /&gt; &lt;BR /&gt; ! Set the range and increment of the progress bar. &lt;BR /&gt; ires = SendMessage(hwndPB, PBM_SETRANGE, 0, lParam_range) &lt;BR /&gt; ires = SendMessage(hwndPB, PBM_SETSTEP, step, 0) &lt;BR /&gt; do l1=1,range_max/step&lt;BR /&gt; call sleep(10000*step/range_max) !simulate doing somthing for 10s&lt;BR /&gt; ! Advance the current position of the progress bar by the increment.&lt;BR /&gt; ires = SendMessage(hwndPB, PBM_STEPIT, 0, 0); &lt;BR /&gt; enddo &lt;BR /&gt; bret = DestroyWindow(hwndPB)&lt;BR /&gt;end subroutine msdn_progress_bar_use_example&lt;BR /&gt;!![/fortran]&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 09:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874609#M73379</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2013-07-02T09:12:00Z</dc:date>
    </item>
    <item>
      <title>Thanks that will help. I want</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874610#M73380</link>
      <description>&lt;P&gt;Thanks that will help. I want to display it in a dialog box and was planning to use GetDlgItem but it is not listed in the online help.&lt;/P&gt;
&lt;P&gt;Neels&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 12:29:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874610#M73380</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2013-07-02T12:29:13Z</dc:date>
    </item>
    <item>
      <title>That should work on a dialog</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874611#M73381</link>
      <description>&lt;P&gt;That should work on a dialog I would think the first item in the dioalog structure is dlg%hwnd which is the handle of the dialog to use as the parent.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 13:21:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874611#M73381</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2013-07-02T13:21:50Z</dc:date>
    </item>
    <item>
      <title>Yes thanks, it is mostly</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874612#M73382</link>
      <description>&lt;P&gt;Yes thanks, it is mostly described in the following thread:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/topic/274479"&gt;http://software.intel.com/en-us/forums/topic/274479&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I still wonder why GetDlgItem is not in the IVF help files or am I looking in the wrong place?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 14:07:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874612#M73382</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2013-07-02T14:07:57Z</dc:date>
    </item>
    <item>
      <title>getdlgitem is not a quickwin</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874613#M73383</link>
      <description>&lt;P&gt;getdlgitem is not a quickwin &amp;nbsp;command it is a &amp;nbsp;window api call (see mdsn) so you will need to have "use ifwin" &amp;nbsp; but when you do in quickwin something like&amp;nbsp;retl4 = dlginit(IDD_DIALOG_CALCS,mydlg) then the returned data "mydlg" has the handle you need in mydlg%hwnd (look at it in the debugger)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 17:02:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874613#M73383</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2013-07-02T17:02:25Z</dc:date>
    </item>
    <item>
      <title>I know it is not a QuickWin</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874614#M73384</link>
      <description>&lt;P&gt;I know it is not a QuickWin command. I have used the process as described in the link in my previous post without success.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 18:41:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874614#M73384</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2013-07-02T18:41:37Z</dc:date>
    </item>
    <item>
      <title>I split the code I posted</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874615#M73385</link>
      <description>&lt;P&gt;I split the code I posted above into 3 utilities &amp;nbsp; INIT ( creates the control and sets min,max,step) DESTROY and STEP (source attached), I added in an iflogm dialog and it works fine:&lt;/P&gt;
&lt;P&gt;[fortran]&lt;BR /&gt;RETL4 = DLGINIT(IDD_DIALOG,DLG) ! create an iflogm dialog&lt;BR /&gt;RETL4 = DLGSETSUB (DLG, IDD_DIALOG , mycallback) ! create callback for init/destroy events&lt;/P&gt;
&lt;P&gt;subroutine mycallback(DLG,ID,CBtype)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if(id.eq.IDD_DIALOG) then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (cbtype.eq.DLG_INIT) then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ! note that dlg%hwnd is NOT set until dlginit is called &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; call cc_progress_bar_init(hwndPB,dlg%hwnd,0,100,10)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; elseif(cbtype.eq.DLG_DESTROY) then&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; call cc_progress_bar_destroy(hwndPB)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; endif&lt;BR /&gt;&amp;nbsp; &amp;nbsp; elseif(ID.eq. id_another_control)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; elseif(ID.eq. id_yet_another_control)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; endif&lt;/P&gt;
&lt;P&gt;end subroutine mycallback&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;!and somewhere in my dialog callbacks that do stuff&lt;BR /&gt;call cc_progress_bar_step(hwndPB) ! increment the progress bar by step&lt;BR /&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 20:22:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874615#M73385</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2013-07-02T20:22:15Z</dc:date>
    </item>
    <item>
      <title>Thanks. Is there a specific</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874616#M73386</link>
      <description>&lt;P&gt;Thanks. Is there a specific reason you do not use the resource editor to create the progress bar and then just use GetDlgItem to get its handle?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 14:38:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874616#M73386</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2013-07-03T14:38:28Z</dc:date>
    </item>
    <item>
      <title>The method used can create a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874617#M73387</link>
      <description>&lt;P&gt;The method used can create a progress bar for a dialog, a window or a stand along progress bar window if you change the &amp;nbsp;parent parameters. If you get the handle via getglgitem you can attach it to some other resource in a dialog but I haven't tried that.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2013 14:48:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874617#M73387</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2013-07-03T14:48:31Z</dc:date>
    </item>
    <item>
      <title>I have tried many options but</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874618#M73388</link>
      <description>&lt;P&gt;I have tried many options but nothing I do&amp;nbsp; get it to work. I start the progress bar as follows:&lt;/P&gt;
&lt;P&gt;[fortran]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hWpb = GetDlgItem(dlg%hWnd, IDC_Progress_CdMap)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)'hWpb = ',hWpb&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)'NumLiftPoints = ',NumLiftPoints&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iRes = SendMessage(hWpb, PBM_SetRange, 0, NumLiftPoints)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)'Previous Range&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ',ires&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iRes = SendMessage(hWpb, PBM_SetPos,&amp;nbsp;&amp;nbsp; 0, 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)'Previous Position&amp;nbsp; ',ires&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iRes = SendMessage(hWpb, PBM_SetStep,&amp;nbsp; 1, 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)'Previous StepValue ',ires&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)&lt;BR /&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;and then increment the progress bar in another callback where the calculations are done:&lt;/P&gt;
&lt;P&gt;[fortran]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Res = SendMessage(hWpb, PBM_StepIt,&amp;nbsp; 0, 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; write(66,*)'Previous Position ',i,res&lt;BR /&gt;[/fortran]&lt;/P&gt;
&lt;P&gt;and get the following results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;hWpb =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1508468&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;NumLiftPoints =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;BR /&gt;&amp;nbsp;Previous Range&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;&amp;nbsp;Previous Position&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&lt;BR /&gt;&amp;nbsp;Previous StepValue&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;and in the calculation the position is incremented by 1 in each loop.&lt;/P&gt;
&lt;P&gt;Help!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2013 17:48:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874618#M73388</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2013-07-08T17:48:50Z</dc:date>
    </item>
    <item>
      <title>the call PBM_SetRange the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874619#M73389</link>
      <description>&lt;P&gt;the call PBM_SetRange the last parameter&amp;nbsp;&amp;nbsp;NumLiftPoints should be a 32 bit integer &amp;nbsp;and this has min and max as low and high words... Some examples are posted hight up the topic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[fortran]lParam_range=ishft(range_max,16) + range_min !hi word, low word 16bit + 16bit[/fortran] or something simillar&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 06:36:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874619#M73389</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2013-07-09T06:36:00Z</dc:date>
    </item>
    <item>
      <title>Thanks, I now have it working</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874620#M73390</link>
      <description>&lt;P&gt;Thanks, I now have it working. Had to study some on hi and low words etc. Wish Intel would add a wrapper for this as part of the dialog and qwin options.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2013 18:49:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/quickwin-example-code/m-p/874620#M73390</guid>
      <dc:creator>Neels</dc:creator>
      <dc:date>2013-07-09T18:49:35Z</dc:date>
    </item>
  </channel>
</rss>

