Search found 2622 matches

by nnnik
Yesterday, 23:28
Forum: Other Programming Languages
Topic: C++: C++ to machine code via TDM-GCC
Replies: 12
Views: 205

Re: C++: C++ to machine code via TDM-GCC

You should probably repeat the chapter about strings and string encodings
by nnnik
Yesterday, 14:06
Forum: Offtopic
Topic: Code Puzzle Thread
Replies: 91
Views: 11911

Re: Code Puzzle Thread

Well I really searched for a solution myself for quite a while as it was a problem that I couldnt solve myself. I was rather impressed at the speed he came up with the solution. Also while Helgefs solution solves this riddle but does not solve the underlying problem for me since the underlying probl...
by nnnik
Yesterday, 11:04
Forum: Bug Reports
Topic: AHK 1.1.29.00 Gui, MyGui:Default crashes the script
Replies: 8
Views: 188

Re: AHK 1.1.29.00 Gui, MyGui:Default crashes the script

@joefiesta have you tried running this script? it actually crashes.
Confirmed using AutoHotkey A/U/64
by nnnik
24 May 2018, 00:25
Forum: Scripts and Functions
Topic: MCode4GCC -- C/C++ to MCode Generator
Replies: 48
Views: 7609

Re: MCode4GCC -- C/C++ to MCode Generator

I think those are Bentschis examples.
He used Visual C++ to compile the code with some optimisation flags.
by nnnik
23 May 2018, 00:20
Forum: Ask For Help
Topic: FileRead & binary data Topic is solved
Replies: 3
Views: 94

Re: FileRead & binary data Topic is solved

I would like to use FileRead, Str, c* MyFile.exe to read the content of an exe file, and then replace all binary null characters by @ to have an readable Str which I can use for further processing. How this replacing could be done? I think it might be worth mentioning that you wont get a working st...
by nnnik
21 May 2018, 02:19
Forum: AutoHotkey v2 Development
Topic: %Expr% [BUG] or [_3D_ not understood]
Replies: 13
Views: 268

Re: %Expr% [BUG] or [_3D_ not understood]

Because it causes inconsistencies with the several types of function definitions. It's also not a requirement for AHK v2 to refer to a variable dynamically. Why would you need this feature?
by nnnik
21 May 2018, 01:31
Forum: AutoHotkey v2 Development
Topic: %Expr% [BUG] or [_3D_ not understood]
Replies: 13
Views: 268

Re: %Expr% [BUG] or [_3D_ not understood]

@ nnnik, you could change the syntax, the feature should not be removed.
why?
by nnnik
21 May 2018, 01:07
Forum: AutoHotkey v2 Development
Topic: %Expr% [BUG] or [_3D_ not understood]
Replies: 13
Views: 268

Re: %Expr% [BUG] or [_3D_ not understood]

Can't we just remove %var%?
by nnnik
20 May 2018, 06:30
Forum: Offtopic
Topic: autohotkey encryption
Replies: 1
Views: 52

Re: autohotkey encryption

In the end every program needs to be understood by your CPU so no matter how hard you try to encrypt it it needs to be understood. That means no matter how hard you try to hide it someone that has enough skills/energy will ge the secrets inside your code. But to answer your question more directly if...
by nnnik
17 May 2018, 04:50
Forum: Offtopic
Topic: imgur
Replies: 2
Views: 72

Re: imgur

Because Dropbox requires more work.
by nnnik
16 May 2018, 15:43
Forum: Ask For Help
Topic: object classes: coding style
Replies: 18
Views: 469

Re: object classes: coding style

You have not seen the power of frameworks like Django in Pyhon or Laravel in PHP...
by nnnik
16 May 2018, 15:21
Forum: Ask For Help
Topic: object classes: coding style
Replies: 18
Views: 469

Re: object classes: coding style

You do not know the definition of the word OOP - why am I talking to you about this topic? You cannot use OOP and have no experience in writing in any language other than AHK. Of course OOP is bad if you look at a language which is not meant for OOP. You have not tackled any complex programming prob...
by nnnik
16 May 2018, 13:48
Forum: About This Community
Topic: autohotkey.net up for grabs
Replies: 16
Views: 1020

Re: autohotkey.net up for grabs

Well I guess we should just shutdown the old forums.
by nnnik
16 May 2018, 13:45
Forum: Ask For Help
Topic: object classes: coding style
Replies: 18
Views: 469

Re: object classes: coding style

To conclude this discussion and to close it - every larger piece of software that you use uses OOP including this forum. I dont know where you get your sources from but if you want to join team "flatearth" do it by yourself outside of this forum. Also your definition of OOP is way off. I ...
by nnnik
16 May 2018, 13:43
Forum: Ask For Help
Topic: object classes: coding style
Replies: 18
Views: 469

Re: object classes: coding style

The most commonly used language is Java. Followed by C and afterwards by many object oriented languages. Java is pretty much the industries standard: https://www.tiobe.com/tiobe-index// If you want to learn OOP learn Java. Even an idiot can write proper OOP - The claims of OOP are a little bit overs...
by nnnik
16 May 2018, 05:50
Forum: Bug Reports
Topic: __Delete & Unhandled Exception
Replies: 4
Views: 218

Re: __Delete & Unhandled Exception

Sounds like a bug - any command should only throw errors when it is inside a Try/catch block.
Could you share the problematic code?
by nnnik
16 May 2018, 03:18
Forum: Scripts and Functions
Topic: 2048 Game
Replies: 18
Views: 386

Re: 2048 Game

Looks good.
by nnnik
16 May 2018, 03:17
Forum: Tips and Tricks
Topic: The very powerful exception function
Replies: 7
Views: 367

Re: The very powerful exception function

This is going to be great for OnError from the new test build.
by nnnik
16 May 2018, 03:16
Forum: Ask For Help
Topic: objects/object classes: new features from a newbie-friendly perspective
Replies: 25
Views: 816

Re: objects/object classes: new features from a newbie-friendly perspective

- I haven't heard much discussion of obj.a.b.c.d.e := value, should obj or obj.a.b.c.d handle the assignment of the value. Have you not come across this issue? Ultimately though, as is always the way, a roundabout complicated custom class can give you whatever behaviour you want. And maybe that's g...
by nnnik
16 May 2018, 02:49
Forum: Ask For Help
Topic: object classes: coding style
Replies: 18
Views: 469

Re: object classes: coding style

You are not affected by all of those views since you never learned OOP - you are essentially rejecting something you never learned out of reccomendation by somebody else. Not ever problem is an OOP problem, but most problemss I tackle are. Also every problem is mostly a mixed problem so its fine to ...

Go to advanced search