'Using C# for Gui creation seems to be easier than using ClearWin+'
Really? That's truly interesting...
Please post made in C# GUI source with similar elements as in this complete Fortran code written in Clearwin+
i=winio@('%ww%ca[win]%mn[File[Exit]]%th%dd%il%cn%`bg[yellow]%?7rd[index]%ff%nl%cn%bt[Exit]%ff','exit',1,1,0,10,j)
end
Or plot the graph like in this single Fortran line example
Real*8 x(100),y(100);N=100;do i=1,N;x(i)=i;y(i)=i**2;enddo;i=winio@('%ww%pv%pl[x_array]',400,300,N,x,y);End
Or if time allows create this GUI made in Clearwin in minutes
module all_defs
use clrwin
character (len=32) :: AppName, AppVer, AppAPIVer, Password, ReqTypeL1(4)
character (len=32) :: SymbolsForL1, SymbolHist, ReqTypeHist(2)
character (len=32) :: FromDateTimeHist, ToDateTimeHist, fileSave_URL
character ch_read_url*128, save64*64, tmp128*128
real*8 FreqHistQuote
integer IOlun, iTICK, iL1
CONTAINS
integer function cbGetHist()
if(iTICK.eq.0.or.iTICK.eq.2) write (save64,'(e10.3)') FreqHistQuote
if(iTICK.eq.1) write (save64,'(e10.3)') 0.001
ch_read_url='http://127.0.0.1:16240/req?GetHistory(DELL,9/02/2009,0,0.001,NO)'
ch_read_url(39:)=' '
ch_read_url=trim(ch_read_url)//trim(SymbolHist)//','//FromDateTimeHist(1:10)//&
&','//ToDateTimeHist(1:10)//','//save64(2:10)//',NO'
call READ_URL@(ch_read_url,fileSave_URL,0,ier)
if(ier.eq.1) goto 1
open(unit=21,file=fileSave_URL,STATUS='readonly', err=1)
do i=1,1000000
read( 21,'(a)',err=1,end=1) tmp128
write(ioLun,'(a)') tmp128
enddo
1 close (21,err=1)
cbGetHist=1
end function cbGetHist
integer function cbGetVer()
ch_read_url='http://127.0.0.1:16240/req?GetVersion()'
call READ_URL@(ch_read_url,fileSave_URL,0,ier)
if(ier.eq.1) goto 1
open(unit=21,file=fileSave_URL,STATUS='readonly', err=1)
do i=1,1000000
read( 21,'(a)',err=1,end=1) tmp128
write(ioLun,'(a)') tmp128
enddo
1 close (21,err=1)
cbGetVer=1
end function cbGetVer
integer function L1Quote()
ch_read_url='http://127.0.0.1:16240/req?GetLastQuote(stock,stock,stock...)'
ch_read_url(41:)=' '
ch_read_url(41:)=trim(ch_read_url)//SymbolsForL1//')'
call READ_URL@(ch_read_url,fileSave_URL,0,ier)
if(ier.eq.1) goto 1
open(unit=21,file=fileSave_URL,STATUS='readonly', err=1)
do i=1,1000000
read(21,'(a)',err=1,end=1) tmp128
write(ioLun,'(a)') tmp128
enddo
1 close (21,err=1)
L1Quote =1
end function L1Quote
integer function cbVoid()
cbVoid=1
end function cbVoid
end module all_defs