Jump to content

Does Au3 support classes and structures?


Recommended Posts

Hello,

I'm working on a little app and I was wondering if it is possible to either use C++ syntaxes or if there is something already built in. The C++ variant of what I want is:

class StringStuff 
{
private:
    int iCount;
    bool bBoolean;
    char cTempString;
public:
    char MyTitle;
    void ParseText(char* Text, int Count, bool CanParse);
};


void StringStuff::ParseText(char* Text, int COunt, bool CanParse)
{
 //code here...
}

struct OtherBooleans
{
    bool Boolean1;
    bool Boolean2;
    bool Boolean3;
}

I've seen some code where people use C++ code via a semicolon and ~. Just wondering if that is real or comments.

Thanx,

-CMR

Link to comment
Share on other sites

I'm working on a little app and I was wondering if it is possible to either use C++ syntaxes or if there is something already built in. The C++ variant of what I want is:

there are no classes and structures in AU3, except for DllCall. See help for DllStructCreate().

I've seen some code where people use C++ code via a semicolon and ~. Just wondering if that is real or comments.

; == line delimiter in C++

~ == one complement (bitwise not) in C++

Comments in C++ are either // or /* */

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...