forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 190 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Derived type definition and private attribute
Kenneth_Smith

Replies: 1
Views: 39

PostForum: Support   Posted: Thu Dec 13, 2018 12:40 am   Subject: Derived type definition and private attribute
Is this a bug? Should the private declaration in the header of the module def, prevent the main program from finding the definition of the type test_t?

module def
implicit none

private

ty ...
  Topic: %sh and %sz
Kenneth_Smith

Replies: 9
Views: 284

PostForum: ClearWin+   Posted: Sun Dec 09, 2018 5:43 pm   Subject:
Progress to date:-

https://www.youtube.com/watch?v=tM2F2NNaHxY

Thanks to those who emailed and messaged me with suggestions.
  Topic: %sh and %sz
Kenneth_Smith

Replies: 9
Views: 284

PostForum: ClearWin+   Posted: Mon Dec 03, 2018 12:45 pm   Subject:
Thanks Paul,

I've not used child windows before so I am on a learning curve, and experimenting.

For the long dark winter nights I have tasked myself with developing a schematic capture applicat ...
  Topic: %sh and %sz
Kenneth_Smith

Replies: 9
Views: 284

PostForum: ClearWin+   Posted: Mon Dec 03, 2018 10:07 am   Subject:
John,

The first example generates the following. A quarter of the image area is displayed (0.5 x 0.5 = 0.25)

http://www.tr5mx.co.uk/chex1.jpg

The second example draws the whole image:-

ht ...
  Topic: %sh and %sz
Kenneth_Smith

Replies: 9
Views: 284

PostForum: ClearWin+   Posted: Sun Dec 02, 2018 10:36 pm   Subject: %sh and %sz
I have modified one of the examples in the documentation to convince myself that its possible to scroll over a graphics area embedded in a child with scroll bars:

program main
implicit none
inclu ...
  Topic: Draw_rectangle@ with %gr smooth4 or smooth8 options
Kenneth_Smith

Replies: 3
Views: 137

PostForum: ClearWin+   Posted: Mon Nov 26, 2018 3:19 pm   Subject:
Thanks Paul, I forgot about that example. Modified your example to demonstrate issue as below, and uncommenting the call to set_graphics_selection@ the problem goes away. Very Happy

Ken

program ...
  Topic: Draw_rectangle@ with %gr smooth4 or smooth8 options
Kenneth_Smith

Replies: 3
Views: 137

PostForum: ClearWin+   Posted: Mon Nov 26, 2018 1:11 am   Subject: Draw_rectangle@ with %gr smooth4 or smooth8 options
Below is a link to a simple drawing program which behaves as expected, drawing lines, circles, rectangles etc.

http://www.tr5mx.co.uk/canvas2.f95

If the %gr options smooth4 or smooth8 are includ ...
  Topic: Visualisation library
Kenneth_Smith

Replies: 18
Views: 992

PostForum: General   Posted: Tue Oct 16, 2018 8:07 am   Subject:
You could use %pl to set up the x and y coordinates. Then since %pl is a graphics region you can simply draw your contour lines on the drawing surface via a call back function. I've got this to work ...
  Topic: Native %pl
Kenneth_Smith

Replies: 404
Views: 54480

PostForum: ClearWin+   Posted: Tue Oct 16, 2018 7:54 am   Subject:
Thanks Paul, Problem fixed Smile I was sure I had read some where that these were to be kind=7. Corrected code below for those who wish to experiment.
module data_mod
implicit none
integer, par ...
  Topic: Native %pl
Kenneth_Smith

Replies: 404
Views: 54480

PostForum: ClearWin+   Posted: Tue Oct 16, 2018 6:15 am   Subject:
Thanks Paul. Here's the code with Paul's suggestions. Runs OK in 32 bit, but there is a problem with 64 bit which I have yet to identify. 7th argument of the %pl should be 32 bit integer ?? module d ...
  Topic: Native %pl
Kenneth_Smith

Replies: 404
Views: 54480

PostForum: ClearWin+   Posted: Sun Oct 14, 2018 12:00 pm   Subject:
One to be aware of if using multiple %pl regions and get_plot_data@.

In the example below there are two %pl regions, both with full mouse input.

Data in each plot is different and the plots have ...
  Topic: %tl tab locations
Kenneth_Smith

Replies: 2
Views: 369

PostForum: ClearWin+   Posted: Sat Oct 13, 2018 2:16 pm   Subject:
Thanks Eddie, been starting at this one for a few hours and never saw the blindingly obvious (again). Ken
  Topic: %tl tab locations
Kenneth_Smith

Replies: 2
Views: 369

PostForum: ClearWin+   Posted: Sat Oct 13, 2018 9:48 am   Subject: %tl tab locations
Can somebody tell me what's wrong with line 12 in the following code, which generates a run time error "Invalid tabulation error". Sad

program test
implicit none
include<windows.ins& ...
  Topic: The 2018 Top Programming Languages
Kenneth_Smith

Replies: 6
Views: 964

PostForum: General   Posted: Fri Aug 03, 2018 4:22 pm   Subject: The 2018 Top Programming Languages
Interesting ranking of programming languages that might stimulate some discussion on here.

https://spectrum.ieee.org/at-work/innovation/the-2018-top-programming-languages?
  Topic: ATAN2 bubble help
Kenneth_Smith

Replies: 1
Views: 468

PostForum: Plato   Posted: Sat Jun 16, 2018 2:15 pm   Subject: ATAN2 bubble help
In Plato, the bubble help which appears after typing "atan2(" is incorrect.

http://www.tr5mx.co.uk/atan2.jpg

It should be "REAL FUNCTION ATAN2(REAL Y, real x)"

Ken
 
Page 1 of 13 Goto page 1, 2, 3 ... 11, 12, 13  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group