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 472 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: UNION issue? Compiler issue?
wahorger

Replies: 5
Views: 151

PostForum: General   Posted: Sat Nov 10, 2018 3:41 am   Subject:
mecej4, yes, there is something about using the MAP directive that makes the code work. This is an obsolete feature, yet it can have great utility. I have seen different implementations described; som ...
  Topic: UNION issue? Compiler issue?
wahorger

Replies: 5
Views: 151

PostForum: General   Posted: Fri Nov 09, 2018 10:21 pm   Subject: UNION issue? Compiler issue?
I was playing around with the UNION statement in a TYPE and ran into a run-time error that baffled me. When I do these declarations (code below), then do an I/O, it crashes with this error.


Error ...
  Topic: Odd compile problem
wahorger

Replies: 17
Views: 2545

PostForum: Support   Posted: Sun Nov 04, 2018 3:15 am   Subject:
Again, thanks, Paul!
  Topic: Address of data being modified by a control
wahorger

Replies: 12
Views: 432

PostForum: ClearWin+   Posted: Wed Oct 31, 2018 9:16 pm   Subject:
Thanks for verifying, Paul. I'll give it a go!
  Topic: Address of data being modified by a control
wahorger

Replies: 12
Views: 432

PostForum: ClearWin+   Posted: Wed Oct 31, 2018 5:49 pm   Subject:
Nice, Paul! Thanks for the samples.

If I may put this in verbiage:

%ud assigns a user data field to the previous control, and the contents of the user data field is retrievable via clearwin_info ...
  Topic: Address of data being modified by a control
wahorger

Replies: 12
Views: 432

PostForum: ClearWin+   Posted: Tue Oct 16, 2018 2:23 pm   Subject:
Paul, not a problem for me at all. Thanks for the consideration.
  Topic: Address of data being modified by a control
wahorger

Replies: 12
Views: 432

PostForum: ClearWin+   Posted: Mon Oct 15, 2018 4:49 pm   Subject:
Paul and Jon,

Thanks for the response!

Using SetWindowLong can certainly be used to attach a pointer to a control. I had seen something similar with the vc*() functions. I should have realized ...
  Topic: Address of data being modified by a control
wahorger

Replies: 12
Views: 432

PostForum: ClearWin+   Posted: Sun Oct 14, 2018 5:28 pm   Subject: Address of data being modified by a control
What way is best way to associate an address of data (specifically, character data, but extensible to others) with a control?

I ask this because I have different handlers doing the exact same task ...
  Topic: WINIO@ using LOGICAL as well
wahorger

Replies: 6
Views: 429

PostForum: Suggestions   Posted: Tue Oct 02, 2018 10:50 pm   Subject:
Eddie,

Part of what you describe is a pathological case; that is: using an integer to represent a variety of "truths".

The way FTN95 works for logicals (I have used the equivalence in ...
  Topic: WINIO@ using LOGICAL as well
wahorger

Replies: 6
Views: 429

PostForum: Suggestions   Posted: Tue Oct 02, 2018 12:05 am   Subject: WINIO@ using LOGICAL as well
For the next compiler update?

There are many winio@ functions that could use a LOGICAL to control selection and/or enable rather than INTEGER. A LOGICAL for a radio button/checkbox makes more sense ...
  Topic: Old style (column 6 character) extension of statement longer
wahorger

Replies: 2
Views: 251

PostForum: Support   Posted: Sat Sep 29, 2018 2:25 am   Subject:
If the program end with the extent .for, then the FORTRAN col 6 works just fine.

If you name the routines .f95, for example, it assumes a different format.

Also, under the Project Options, selec ...
  Topic: Callback for Enhanced Menus
wahorger

Replies: 8
Views: 391

PostForum: ClearWin+   Posted: Sat Sep 29, 2018 2:22 am   Subject:
Thanks, Paul!
  Topic: Callback for Enhanced Menus
wahorger

Replies: 8
Views: 391

PostForum: ClearWin+   Posted: Wed Sep 26, 2018 8:13 pm   Subject:
Eddie, great suggestions. I'll look in to it.

Most of this "experimentation" is to determine, just in case, what my options are. For example, if I can disable a menu selection dynamically ...
  Topic: Callback for Enhanced Menus
wahorger

Replies: 8
Views: 391

PostForum: ClearWin+   Posted: Wed Sep 26, 2018 3:34 pm   Subject:
I have made progress (small example), and discovered a few things.

I can leave the main menu defined as it is (%mn) in the initial window. If I need to change the menu, I can use the handle (from % ...
  Topic: Callback for Enhanced Menus
wahorger

Replies: 8
Views: 391

PostForum: ClearWin+   Posted: Wed Sep 26, 2018 2:04 pm   Subject:
Paul, I cannot post the program; it is far too long. But I can describe what I was intending to do.

The initial window allows one of a set of processes to be selected to be run. One of processes se ...
 
Page 1 of 32 Goto page 1, 2, 3 ... 30, 31, 32  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group