Hello I wanted to make a using dir code like in C++. What it would do is act as a directory. So using area and then on the next line you would just put icon. I tried #define code but can't figure out how too do it. Basically what I wanted too do is after having using dir all code after that would have dir/ before there code. Im not sure if you even can do this with define. The only thing I can think of is making #define using(X) #define icon X/icon and do that for every thing an object could have. Can you have it so there is not ()? and make a space.
Well thanks for any help. Ill probley just end up having too leave this option out. That or make some kind of parser that takes the using dir code and after it change all lines of code by appending a dir/ to the start of them. But that I could only be seeing done at runtime and I want this done at compile time.
ID:269210
Apr 10 2005, 3:40 am
|
|