Quote:

Im used to object orientation (java), and litec feels to me very procedural.




Actually, Lite-C is kinda ANSI C standard and since C is procedural, Lite-C is procedural, too.

Quote:

So is it somehow possible to have functions inside the objects im creating? Are structs the only thing you can use within litec, or is there some kind of class feature aswell? Or maybe youre supposed to modularize everything in another way? How do you do it?




Well, I know what you mean. Actually, you cant store functions in structs. Thats why they are called structs: "data structures". Though, the developers said, that they will eventually add functions to structs (which seems odd to me, but, well... okay).

As a solution, you can save a function ptr into an instance of a struct. By this you could write your own routine to execute those functions by passing their pointer which is saved inside the instance.

Quote:

And btw. How does digits function work? And string? For example, if i define a PANEL*, I can use digits(..) to get some digits going there. .. how does that work exactly?




There are good examples in the manual - try them first!

Quote:

I tried initializing a property of a struct thorugh a function invocation that returned a var, but that didnt work. (Kinda like MYSTRUCT* lol = { func(); }




This is an example struct:

Code:
typedef struct TRACKPOINT {
VECTOR pos;
struct TRACKPOINT *parent, *child;
} TRACKPOINT;



which saves a vector and two pointers two other instances. As you can see, you can only store data.

There is a good online book that explains C-programming:

http://publications.gbdirect.co.uk/c_book/

or specifically on structrues:
http://publications.gbdirect.co.uk/c_book/chapter6/structures.html

Go for it! - Cheers,
Christian