replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: Search
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 2608 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: %lv width
JohnCampbell

Replies: 5
Views: 356

PostForum: ClearWin+   Posted: Wed Feb 12, 2025 1:51 pm   Subject:
I have now expanded:
integer function get_lv_header_pixel_width ( lv_data, nrows )
to also read all the data rows and use get_text_size@ to determine the max pixel width required of the header row ...
  Topic: using contained function as ^callback
JohnCampbell

Replies: 1
Views: 151

PostForum: ClearWin+   Posted: Wed Feb 12, 2025 1:25 am   Subject: using contained function as ^callback
I was testing using a contained function as a ^ call-back.
It could have the advantage of all variables in the winio@ call are in scope, and the local callback is not in scope for other winio@ blocks ...
  Topic: %lv width
JohnCampbell

Replies: 5
Views: 356

PostForum: ClearWin+   Posted: Sun Feb 09, 2025 11:34 am   Subject:
Hi Paul,

Thanks for the offer to review %lv. I will look to develop a sample program that may demonstrate the problem.

I have also developed a utility routine to estimate the actual pixel width ...
  Topic: %lv width
JohnCampbell

Replies: 5
Views: 356

PostForum: ClearWin+   Posted: Sun Feb 09, 2025 4:57 am   Subject:
Paul,

I am unsure as to what are "Microsoft control features" (MCF) and what are Clearwin+ Options (C+O). I am wondering if MCF covers this already.

If the header format includes a co ...
  Topic: Learning Clearwin
JohnCampbell

Replies: 11
Views: 1366

PostForum: ClearWin+   Posted: Sat Feb 08, 2025 5:36 am   Subject: Re:
Lester,

Yes, there is a limit of about 70 lines of code that can be posted here.

Dropbox file sharing is one alternative, which seems to work well.

Could the forum have a scrollable code b ...
  Topic: Learning Clearwin
JohnCampbell

Replies: 11
Views: 1366

PostForum: ClearWin+   Posted: Sat Feb 08, 2025 5:33 am   Subject:
I would also recommend reading Eddie's book "Fortran and the Art of Windows Programming".

It has been a few/many years since I last wrote clearwin+ programs, and the discussion of the app ...
  Topic: %lv width
JohnCampbell

Replies: 5
Views: 356

PostForum: ClearWin+   Posted: Sat Feb 08, 2025 4:26 am   Subject: %lv width
Lately, I have been developing a financial data presentation and reporting program.

I have found the %lv table display very useful, using view = 1. (not sure how to use onter view values)

I know ...
  Topic: Avoiding flicker with rapid %pl updates
JohnCampbell

Replies: 30
Views: 6135

PostForum: ClearWin+   Posted: Tue Jan 28, 2025 9:41 am   Subject:
Ken,

I am a bit behind, as I am not using Ver 9.06 as yet.

However I ran your 27-Jan example in Plato (without buffering), plus having FTN95 help window opened and the FTN95 Help window index wa ...
  Topic: Array constructor issue
JohnCampbell

Replies: 3
Views: 1325

PostForum: Support   Posted: Thu Jan 23, 2025 1:50 am   Subject:
Ken,

I am using Version 9.05 /64 /debug and get an access violation error on the array constructor.

I also tried the following with the same outcome.
sum_y = [ ( sum(random_y(1:i) ), i = 1, n) ...
  Topic: Reading an ESRI ascii raster file
JohnCampbell

Replies: 4
Views: 1429

PostForum: General   Posted: Wed Jan 22, 2025 1:06 am   Subject:
The following is an incomplete template of reading the (6) headers with some flexibility and validation of the labels.
It can be help to provide some basic checking of names, although they can vary w ...
  Topic: Use constants from module in select case
JohnCampbell

Replies: 3
Views: 2064

PostForum: General   Posted: Wed Jan 15, 2025 10:08 am   Subject:
In your select case (choice)
case (constant_value)

"Choice" can not be a real or complex expression, but must be integer, character or (possibly) logical. It may be an expression that ...
  Topic: warning 676 in recursive routines
JohnCampbell

Replies: 19
Views: 8841

PostForum: Support   Posted: Sun Jan 12, 2025 4:11 am   Subject: Re:
although AI suggests I should.

I wonder what AI would suggest about Quicksort and pre-ordered sets ?
The classic response would probably be it fails, but I have found attention to pivot selection ...
  Topic: warning 676 in recursive routines
JohnCampbell

Replies: 19
Views: 8841

PostForum: Support   Posted: Fri Jan 10, 2025 9:28 am   Subject:
Hi Ken & Steve,

I have looked at both quicksort codes you posted and also my non-recursive quick sort which uses a DO loop.

They differ in a number of areas, being
1: Selection of pivot for ...
  Topic: warning 676 in recursive routines
JohnCampbell

Replies: 19
Views: 8841

PostForum: Support   Posted: Wed Jan 01, 2025 9:47 am   Subject:
I have created a variant of the indexed quick sort, which may be of interest.

This is:
An indexed sort that does not change the original data order.
This is still a recursive sort.
In the partit ...
  Topic: warning 676 in recursive routines
JohnCampbell

Replies: 19
Views: 8841

PostForum: Support   Posted: Wed Jan 01, 2025 1:58 am   Subject: Re:
The quicksort theory states the worst case is for an ordered set

I am not sure of the source of that claim, however you can easily show the difference between "high" pivot and "mid_p ...
 
Page 1 of 174 Goto page 1, 2, 3 ... 172, 173, 174  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group