Search found 73 matches

by thatbruce
Thursday 26th January 2023 11:34pm
Forum: Beginners
Topic: Homework question
Replies: 11
Views: 235

Re: Homework question

Its returned by that function, ...

in Main()
sPage = ...
by thatbruce
Wednesday 11th January 2023 12:20am
Forum: Project showcase
Topic: Magnifier
Replies: 1
Views: 84

Re: Magnifier

Groovy!
by thatbruce
Thursday 22nd December 2022 5:54pm
Forum: General
Topic: [Solved] Show ETA On a Mysql function
Replies: 6
Views: 300

Re: Show ETA On a Mysql function

You need to understand query planning. For each query you send to the database it has to a) parse the query and formulate the most efficient approach, b) process the query and c) output a response. Around this wrap the latency due to network/other processes being scheduled etc. so 1) Updating the lo...
by thatbruce
Thursday 22nd December 2022 11:59am
Forum: General
Topic: Window resizing help
Replies: 6
Views: 269

Re: Window resizing help

No i hate wayland it sucks. i think it needs boycotting for being so rubbish. [/quote] Oh that is sooo judgemental! I mean for a rendering protocol mooted in 2008 and started in 2010 because X was "too old" it has certainly come a little way to creating a window manager that these days ha...
by thatbruce
Monday 19th December 2022 7:46am
Forum: General
Topic: Did you know?
Replies: 86
Views: 83473

Re: Did you know?

I believe it is syntactical "sugar" i.e. the functions If( ) == IIf( ).
But it sure is handy filling gridviews, etc:

Code: Select all

Gridview1.Add(datum.this, 
	datum.that,
	IIf(datum.other,datum.other,"Unknown"),
	datum.etc)
by thatbruce
Tuesday 13th December 2022 8:51am
Forum: General
Topic: Forcing use of the IDE
Replies: 4
Views: 211

Re: Forcing use of the IDE

One other thing. You cannot use Not with #If So to do it the other way round you cannot do this... #If Not Exec Quit #Endif But you can do this... #If Exec #Else Quit #Endif But actually, in fact, I believe and have tested, you can use #If Not ( Exec ) ! In other words force the #If to use a functi...
by thatbruce
Tuesday 13th December 2022 8:46am
Forum: General
Topic: Forcing use of the IDE
Replies: 4
Views: 211

Re: Forcing use of the IDE

Someone has "cleaned up" that page. IIRC the referred to "discussion" was somewhat heated. :D
by thatbruce
Sunday 11th December 2022 12:07pm
Forum: General
Topic: Forcing use of the IDE
Replies: 4
Views: 211

Forcing use of the IDE

This one is just too good not to share. Sometimes one can over-think things and go looking for an intergalactic laser driven solution when a simple screwdriver is just as good, if not better. I was looking for a way to temporarily "disable" a project so it could only be run from inside the...
by thatbruce
Wednesday 7th December 2022 10:59am
Forum: Beginners
Topic: CDocumentation.ImplementAndNeed.1209
Replies: 3
Views: 207

Re: CDocumentation.ImplementAndNeed.1209

No, just quit the IDE completely and then start it again. If you still get the error then something is definitely wrong. I have seen a few of these lately because I am doing quite a lot with customised components. I haven't figured out exactly what causes it but restarting everything seems to fix it...
by thatbruce
Tuesday 6th December 2022 12:16pm
Forum: General
Topic: Pass a class to a variable
Replies: 11
Views: 461

Re: Pass a class to a variable

Although I am a bit like PJ here, what I imagine you are trying to do is abstract some type of, for want of a better example, one of Martin Fowler's OO impedance models? (Whether your data source is rdmbs or not). Well. Yes this is possible, we here have done it for over a decade. BUT it is not as s...