View previous topic :: View next topic |
Author |
Message |
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Wed Dec 11, 2013 8:11 pm Post subject: |
|
|
... and so does this mean that the 'limit' for screen size would then increase to approx. 50 'images' per mega working surface ? |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Wed Dec 11, 2013 8:27 pm Post subject: |
|
|
also, DRAW_LINe is mentioned above but I can see no documentation about that (presumeably because it's a heritage commenad meant to be replaced by DRAW_LINE_BETWEEN ? Can you point me in the direction of the documentation as it would be interesting to see the difference between the two if they could be different.
also what about DRAW_POLYLINE ?
and how in general do we know what is INTEGER*" or INTEGER*4 , is this documented somewhere ?
Thanks. |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Wed Dec 11, 2013 8:33 pm Post subject: |
|
|
... sorry, just caught up on the previous posts ...... so the limit would still apply for DRAW_POLYLINE then since it's an array input and must be INTEGER*2 ? Time to remove these limitations asap if possible I would think ? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7928 Location: Salford, UK
|
Posted: Wed Dec 11, 2013 9:08 pm Post subject: |
|
|
DRAW_POLYLINE@ is documented as using default integer (i.e. INTEGER*4) arrays. The documentation is in FTN95.chm and online.
INTEGER*4 means 4 byte (32 bit integer).
As noted elsewhere on this thread, with a few exceptions, all the old routines are available (with different names) with INTEGER*2 arguments replaced by INTEGER*4 arguments.
The way to remove the limitations is for users to use the newer names and not the old DBOS names. |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Thu Dec 12, 2013 2:53 am Post subject: |
|
|
thanks Paul, I'll give all a try when I have a moment to spare. I'm intrigued to know why DanRRight considers the DRAW_LINE to be better ? |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2819 Location: South Pole, Antarctica
|
Posted: Thu Dec 12, 2013 5:16 pm Post subject: |
|
|
Because it's simple, natural and "essential" like everything in Fortran (btw, due to these properties of Fortran language and all Fortran functions it will live forever never being obsolete or substituted by other languages). If also Fortran will have graphics inside its Standard, draw_line will be the #1 function there. The draw_line_between will never be there because it sounds like a desperate struggle to find different reasonable term then draw_line.
Also 72 character sources will live 50 years at least or more because most of libraries were written at the time of early Fortran. And based on my codes with a lot of graphics, the source readability is way better if you fit graphics command in one single line. You will have hard time doing that shortening names and math inside its arguments with draw_line_between as i struggle to fit in one line even draw_line. With 132-character sources this is less an issue, but you have to have good multimonitor setup (or soon 4K monitor) to have several editor panels open simultaneously for better visibility of complex sources. BTW, I just found completely forgotten several instances of draw_line_between in my codes but seems the fact that it sounds unnatural and cumbersome i preferred not not to use it
Last edited by DanRRight on Thu Dec 12, 2013 6:04 pm; edited 4 times in total |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Thu Dec 12, 2013 5:29 pm Post subject: DBOS Ported Commands Documentation ? |
|
|
Where exactly can I find documentation for using DRAW_LINE ?
I've onl y seen the overview given here:
http://www.silverfrost.com/ftn95-help/clearwinp/dbosfn/introduction.aspx
but there are no specific documentation for any of the commands.
Note also - in the link above the diamond symbols with the question mark all appear to be the same, so no way of knowing which category each command is applicable to !!!!! |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7928 Location: Salford, UK
|
Posted: Thu Dec 12, 2013 6:39 pm Post subject: |
|
|
The routines for drawing lines are here...
http://www.silverfrost.com/ftn95-help/clearwinp/overview/graphicsfunctions_lines_fill_.aspx
DRAW_LINE@ is no longer documented. You will need to find an old DBOS (hard copy) manual to find the documentation. If you do manage to do this and then test it out, you will find that the result is exactly the same as DRAW_LINE_BETWEEN@.
Theses old routines are no longer supported in the sense that we do not provide documentation for them. However, they do work perfectly well because internally they use the same code. |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Fri Dec 13, 2013 6:27 pm Post subject: |
|
|
DanRRight ...
I see exactly where you are coming from with your comments about 'simple and short being best'. Maybe DRAW_LINE has some 'hidden' 'secret' property noone knows about whereby you can draw a line but not between 2 points ?
In the meantime ... you couldn't point me in the right direction of where I could find DBOS documentation could you ? .... or anyone else ? |
|
Back to top |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Fri Dec 13, 2013 6:31 pm Post subject: |
|
|
Paul Laidler, thanks for your reply Paul about DRAW_LINE, I'll try to source a copy. However you forgot the bit of my question about the unclear triangle signs which are supposed to be different so as to indicate which category each DBOS command falls into .
How do we differentiate and decide what has to be changed or not when integrating heritage code ? What's your advice ? Is it easy to update the page in the documentation to clarify that. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2819 Location: South Pole, Antarctica
|
Posted: Sat Dec 14, 2013 9:39 pm Post subject: |
|
|
Someone may still keep old Fortran77 manuals. I think I recycled them 3 years ago not being able to handle huge mess of different paper stuff i had. Should probably keep them, will be a treasure rarity few decades from now as the most innovating, most expensive, most unknown to the scientific and engineering public (because of most not advertised) Fortran compiler of all times |
|
Back to top |
|
|
IanLambley
Joined: 17 Dec 2006 Posts: 490 Location: Sunderland
|
Posted: Sun Dec 15, 2013 1:12 pm Post subject: |
|
|
In the FTN77 distribution, there were a few files documenting the graphics, called GRAPHIC1.DOC, GRAPHIC2.DOC and GRAPHIC3.DOC plus a few more with the enhancements and use of the mouse.
I have copies of these from January 1996 if anyone wants then. Send me a PM with your e-mail to receive a copy.
Ian |
|
Back to top |
|
|
|