|
Ryuichi Beginner
Joined: 26 Oct 2004 Posts: 19
|
Posted: Fri Sep 02, 2005 2:39 pm
Sending special characters to mud/file? |
The answer to this is probably something I'm overlooking. I like to use tab-delimited text files because I can import them into excel or access.
If I have say two variables, @zone and @mobName, how do I output
@zone(TAB)@mobName?
I realize there's probably an ascii code for tab, but I should think there is probably something like "\t" used in many other languages? |
|
|
|
Carabas GURU
Joined: 28 Sep 2000 Posts: 434 Location: USA
|
Posted: Fri Sep 02, 2005 6:45 pm |
Nope, no \t or similar escape sequence that I'm aware of. Use %char(9).
ASCII Code Table |
|
_________________ Carabas |
|
|
|
Ryuichi Beginner
Joined: 26 Oct 2004 Posts: 19
|
Posted: Fri Sep 02, 2005 6:54 pm |
Almost as easy :) Thank you.
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Sep 02, 2005 8:47 pm |
Thanks for the link. I am always looking for reference data like that. Normally I would just memorize the special codes (<32) and create someting to output everything else for my needs/ However this reference comes in handy. It is a lot better then grabbiing the right one of the ancient books off the shelf behind me and locating the proper appendix.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|