#define D #define
D L Login()
D S src
D M mob
M L S<<"Hello"
I tried also doing:
M;L;S<<"Hello"
So yeah, anyone want to show me how to seperate lines I always thought it was the ";" command thing. I also know that there probably would be no reason for this in an everyday situation if I wasn't doing some kind of challenge like that, but I just thought it might be intrested knowing how it worked.
M/L{S<<"Hello"}
Of course, in a real 4K Challenge something like Login() wouldn't be a prime target for compression. I'd focus instead on things that are used a lot. Scream of the Stickster did this:
It was a tremendous challenge finding single letters to abbreviate further and still have proc/var names to use. Note that if was actually reduced because it's used so often that the overhead of the define statement is nothing compared to a 50% trim for every instance. Note that the biggest winners there are control statements like for, while, else, return, sleep, spawn. I didn't screw with continue or break because they're used infrequently. And for for(), I figured since for(a in b) is the most commonly used form, I could exploit that fact for a quick macro. I didn't end up compressing usr because it hardly comes up; src is used much more often.
Lummox JR