CompuServe Messages

#Strings in C

    22-Nov-94 00:55:58
Sb: #44152-#Strings in C
Fm: Jim Maddox 74667,2175
To: Shraddhan 70374,754
Hmm. Maybe I can return your favor. 🙂 >> How do I define in C (using DICE) the string which in assembler is: >> dc.b $9b,"0 p",0 I'm not too sure about #defining it (or about DICE, as I use TurboC++), but if you were using an array, you might try: char string[] = { '\0x9b',"0 p",'\0' }; (Or char *string; whatever suits you better.) I suppose it wouldn't hurt to try this, though: #define STRING { '\0x9b',"0 p",'\0'} Or, you could create the aforementioned array and just do this: #define STRING *string Hope it helps. – Jim, on AutoPilot!