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 2292 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Rounding
LitusSaxonicum

Replies: 6
Views: 157

PostForum: General   Posted: Wed Jan 19, 2022 4:15 pm   Subject:
Yep, didn't realise what NINT did - I thought it was yet another botch of things that have been there forever and was an alias for INT rather than INT dressed up so as to change its personal pronouns. ...
  Topic: Rounding
LitusSaxonicum

Replies: 6
Views: 157

PostForum: General   Posted: Wed Jan 19, 2022 12:30 pm   Subject:
Hi Mecej4,

I hadn't realised I was a customer. What do you want your fee in? I have a stock of pre-decimal coins and old Italian Lira.

I see now what you did, I was confused by 2 axis scaling - ...
  Topic: Rounding
LitusSaxonicum

Replies: 6
Views: 157

PostForum: General   Posted: Tue Jan 18, 2022 2:54 pm   Subject:
Thanks Mecej4,

Not quite it, though, because after I have got the pixel coords, I convert to real world coordinates, and it's those I want to round.

Hence, after the random number generation and ...
  Topic: Rounding
LitusSaxonicum

Replies: 6
Views: 157

PostForum: General   Posted: Tue Jan 18, 2022 11:37 am   Subject: Rounding
I think that everyone knows about rounding to the nearest INTEGER from a REAL with the conversion to INTEGER rounding down, so for rounding up you need to add 1, and to round to the nearest, add 0.5 b ...
  Topic: Possible interference on CW+ by use of PAUSE ??
LitusSaxonicum

Replies: 8
Views: 217

PostForum: ClearWin+   Posted: Sun Jan 16, 2022 5:10 pm   Subject:
Bill,

That's helpful advice, thanks, but not the answer here. I already caught a previous incarnation of the multiple %ca error where my pal had genuinely caused it by trying to open a dialog while ...
  Topic: Possible interference on CW+ by use of PAUSE ??
LitusSaxonicum

Replies: 8
Views: 217

PostForum: ClearWin+   Posted: Sun Jan 16, 2022 11:45 am   Subject:
Mecej4 - it is interesting that the 32-bit and 64-bit versions differ.

May I commend ClearWin+ to you? Although people get the wrong results from incorrect programming, I have found that often the ...
  Topic: Possible interference on CW+ by use of PAUSE ??
LitusSaxonicum

Replies: 8
Views: 217

PostForum: ClearWin+   Posted: Fri Jan 14, 2022 7:46 pm   Subject:
Dear both,

Thank you for your quick comments.

Mecej4 - yep, I know what PAUSE should do, but I'd never thought about how it does it. This is not a console app, but a WINAPP. Although the PAUSE s ...
  Topic: Possible interference on CW+ by use of PAUSE ??
LitusSaxonicum

Replies: 8
Views: 217

PostForum: ClearWin+   Posted: Fri Jan 14, 2022 4:42 pm   Subject: Possible interference on CW+ by use of PAUSE ??
I have come across an odd behaviour that I cannot account for in a friendís code using FTN95 and ClearWin+. The error message that FTN95 generates is about there being too many %ca format codes.

If ...
  Topic: rf with help text and format
LitusSaxonicum

Replies: 3
Views: 338

PostForum: ClearWin+   Posted: Fri Dec 10, 2021 10:26 pm   Subject:
I have downloaded your code and compiled it. Forgive my frankness, but the Help files for FTN95 are not a complete self-tuition manual - ad there are many places where you can simplify your code and m ...
  Topic: Logical arguments to %rb, and grey-control arguments
LitusSaxonicum

Replies: 5
Views: 625

PostForum: ClearWin+   Posted: Fri Dec 10, 2021 8:47 pm   Subject:
Simon,

I often pondered the substance of your question (although never more than fleetingly), especially as 0 and 1 integers have exactly the same bit patterns as .false. and .true. Indeed, some F ...
  Topic: rf with help text and format
LitusSaxonicum

Replies: 3
Views: 338

PostForum: ClearWin+   Posted: Fri Dec 10, 2021 8:06 pm   Subject:
Highlight the code, and click the Code button.

Also, there is a limit to the length of the post. Please check, and post the rest of the code in a second post.

You probably need a %th or %bh to e ...
  Topic: Still on a Quest to re-blank an %rf box ...
LitusSaxonicum

Replies: 9
Views: 747

PostForum: ClearWin+   Posted: Tue Dec 07, 2021 1:54 pm   Subject:
Hi Paul,

Many thanks for that code. I will take a look and try to understand it. I found that UPDATE_WINDOW@ (along with your previous suggestion) did the trick with the re-blanking, more or less, ...
  Topic: Still on a Quest to re-blank an %rf box ...
LitusSaxonicum

Replies: 9
Views: 747

PostForum: ClearWin+   Posted: Tue Dec 07, 2021 12:15 pm   Subject:
The user can change their mind about which of the 4 %`ls options they choose and the other boxes respond accordingly. It would be nice if options 2 and 4 set the focus reliably, but it doesn't matter ...
  Topic: Still on a Quest to re-blank an %rf box ...
LitusSaxonicum

Replies: 9
Views: 747

PostForum: ClearWin+   Posted: Tue Dec 07, 2021 12:11 pm   Subject:
(Duplicate post edited out)
  Topic: Still on a Quest to re-blank an %rf box ...
LitusSaxonicum

Replies: 9
Views: 747

PostForum: ClearWin+   Posted: Tue Dec 07, 2021 12:11 pm   Subject:
And part 2:

INTEGER FUNCTION KB_LIST()
C --------------------------
COMMON /SPEEDER/ RADIUS, iRAD, iGREY, HGV_LIMIT
COMMON /SPEEDEX/ RAD_LOW, RAD_HIGH, iHandle
...
 
Page 1 of 153 Goto page 1, 2, 3 ... 151, 152, 153  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group