// May's Ed Tutorial for Wizards
#include "../school.h";
inherit ROOM;
void setup(){
set_brief("Ed Tutorial 3");
set_long(@MAY
The P and L commands are used to show you what code
you have written so far. P shows you the general code and L
shows you everything that P shows you, but also includes the
control characters that may be hidden in the code.
Since all commands here on the Beyond the Flame are case-sensitive,
you have to type lower case p's and l's, otherwise the
computer won't recognize the commands. Now, to see a line
specifically by number, you can type #p and that will show
you the line # with out any of the hidden characters. If you
want to see a range of lines, you can add in a <,> between
two numbers like <1,15p> to show you lines 1 through 15.
The same holds true for the l command except you will also see
hidden characters.
Now you already know the <.> means current line from the last
room, so if you type <1,.l> that will show you all the lines
starting at 1 and ending at your current line. Another important
symbol is the <$>. That means <last line>. So, if you wanted to
see all the lines in a single file, you would type <1,$p> or
1 through last line, print.
Now that you can see all the lines of your files, you are ready
so see how to save them so you can get out of ed.
MAY
);
set_exits( ([
"south" : R + "edtutor02",
"north" : R + "edtutor04",
]) );
set_objects( ([
]) );
}