Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

RACKET (Part 1)

Name: Anonymous 2010-07-22 23:33

Racket

Name: Anonymous 2010-07-23 9:07

How do I use macros?

I want to do this (example in C because it's the best language ever and Racket is just a poor reimplementation of half of it):

#define SHORTHAND(name) \
int name##s[42]; \
void grab_##name(int n) { grab(name##s[n]); }

SHORTHAND(penis);

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List