lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I define the configuration like the following format.

BYTE = 1

function MYDEF(variable)
    return variable
end

Variable1 = MYDEF
{
TYPE     = BYTE
}

Variable1 = MYDEF
{
TYPE     = BYTE
}

Variable1 = MYDEF
{
TYPE     = BYTE
}


Can I have the above configuration in this model?

MYDEF Variable1
{
    TYPE     = BYTE
}

MYDEF Variable2
{
    TYPE     = BYTE
}

MYDEF Variable3
{
    TYPE     = BYTE
}

Regards,

Krish