Search found 7209 matches

by PB
Mon Dec 08, 2014 9:06 am
Forum: Coding Questions
Topic: Why stays Global variable empty ?
Replies: 42
Views: 14350

Re: Why stays Global variable empty ?

[Edit] Actually, forget it. I'm over arguing with people on forums. It's not worth it.
by PB
Sun Dec 07, 2014 11:05 pm
Forum: Coding Questions
Topic: Why stays Global variable empty ?
Replies: 42
Views: 14350

Re: Why stays Global variable empty ?

> No, I will not explain

Fair enough, I guess. A shame, though.

> I spent more time replying you in another thread for nothing,
> you simply went away while the discussion was on

I obviously forgot about it due to real life. Point it out and I'll reply.
by PB
Sun Dec 07, 2014 3:53 pm
Forum: Coding Questions
Topic: Why stays Global variable empty ?
Replies: 42
Views: 14350

Re: Why stays Global variable empty ?

> Disable it is not the same, that will always add some code to your exe

I made an exe, as did another user, and our results showed faster
execution with a small variable name than a longer variable name.
Fact. That's all I know. It's thus been proven to have an effect.
by PB
Sun Dec 07, 2014 3:49 pm
Forum: Coding Questions
Topic: Why stays Global variable empty ?
Replies: 42
Views: 14350

Re: Why stays Global variable empty ?

> It is.

Explain the results of Vera, IdeasVacuum and myself, then?
by PB
Sun Dec 07, 2014 3:33 pm
Forum: Coding Questions
Topic: Why stays Global variable empty ?
Replies: 42
Views: 14350

Re: Why stays Global variable empty ?

> Strange? Possibly to do with the overall load on the CPU at the time,
> but I expected the results to be near identical

Ah, so your own tests are showing similar results as mine. Weird, eh?

I know it's not "much" of a real-world difference, but it theoretically
shouldn't have any such difference ...
by PB
Sun Dec 07, 2014 3:30 pm
Forum: Coding Questions
Topic: Why stays Global variable empty ?
Replies: 42
Views: 14350

Re: Why stays Global variable empty ?

> And for sure, you have not use the debugger and not disable it

Did you not see "DisableDebugger" at the start of my tests? ;)

> Compile it to an exe (use Msg Requesters to report result)

Okay, did that, and below are the results. The short variable
name tests are both shorter to complete than ...
by PB
Sun Dec 07, 2014 3:10 pm
Forum: Coding Questions
Topic: Why stays Global variable empty ?
Replies: 42
Views: 14350

Re: Why stays Global variable empty ?

> the variable name length is immaterial

Perhaps not. When I run the following test, the shorter variable
loops are always finished slightly sooner than the longer names.

Maybe someone can point out if I'm doing something wrong?
Because it seems to match Vera's claim... every time. :shock:

d ...
by PB
Sun Dec 07, 2014 11:24 am
Forum: Tricks 'n' Tips
Topic: Keeper GSPOC (simplistic info manager. Source project
Replies: 50
Views: 23577

Re: Keeper GSPOC (simplistic info manager. Source project

Fangbeast, I just noticed "not Sydney" in your avatar.
I grew up in Sydney, my boy. What's wrong with it? :twisted:
by PB
Sun Dec 07, 2014 2:03 am
Forum: Tricks 'n' Tips
Topic: Simple DriveExist procedure MULTI [Win -Mac - Linux]
Replies: 7
Views: 5500

Re: Simple DriveExist procedure MULTI [Win -Mac - Linux]

> If the drive letter is a mapped network drive, and you are not
> connected to the required network, you still get #True

Same if there's no media in a DVD drive: it returns #True, even
though there's nothing there to access at all.
by PB
Sun Dec 07, 2014 1:56 am
Forum: Feature Requests and Wishlists
Topic: Scrolling with mouse in IDE 'procedure gadget'
Replies: 3
Views: 2772

Re: Scrolling with mouse in IDE 'procedure gadget'

> I didn't found this

http://www.purebasic.fr/english/viewtop ... 7&p=424460

The answer: Skywalk said that Freak told him "no" to this request.
by PB
Sun Dec 07, 2014 1:52 am
Forum: Coding Questions
Topic: EditorGadget "#ES_NOSCROLL"?
Replies: 14
Views: 6568

Re: EditorGadget "#ES_NOSCROLL"?

> is there a way to force an EditorGadget to NOT scroll

Don't fill it with more text than it can display? :shock:

If it doesn't scroll, then what happens with the unseen text?
by PB
Sat Dec 06, 2014 2:52 pm
Forum: Coding Questions
Topic: Hide from taskmgr
Replies: 8
Views: 5012

Re: Hide from taskmgr

> I want to make project to my school what block facebook, youtube, and porn site

So block them in the "hosts" file and you're done:

Code: Select all

127.0.0.1 www.facebook.com
127.0.0.1 www.youtube.com
http://www.howtogeek.com/howto/27350/be ... osts-file/
by PB
Sat Dec 06, 2014 1:14 am
Forum: Coding Questions
Topic: Hide from taskmgr
Replies: 8
Views: 5012

Re: Hide from taskmgr

> Why I should hide the program? Because if I don't hide user can close it.

Better to just disable the Task Manager instead:

http://www.pctools.com/guides/registry/detail/163/

That way, it doesn't look like you're writing malware. :wink:
by PB
Fri Dec 05, 2014 12:18 am
Forum: Feature Requests and Wishlists
Topic: [Implemented] New OS version constants
Replies: 11
Views: 7356

Re: New OS version constants

> It's irrelevant

Only if you upgrade PureBasic with each new release.

For people sticking with an older version for whatever reason,
like I need to for one app because I need Gnozal's libs, then
#PB_OS_Windows_Future will NOT represent a future Windows
at all, but will clash with #PB_OS_Windows ...
by PB
Thu Dec 04, 2014 11:51 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] New OS version constants
Replies: 11
Views: 7356

Re: New OS version constants

Like Shield said:

Debug #PB_OS_Windows_8 ; 90
Debug #PB_OS_Windows_Future ; 200

My guess is that #PB_OS_Windows_10 will be 100 when
Windows 10 actually get released to the public.

That future value is very low, IMO. It should be 900 or so,
because at this rate the value of 200 will be reached ...