/* * Copyright (C) 2008 Manish Pandya, [manish at meetamanish dot com] * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * */ package org.hooliguns.ninja.telnet.phiPiMod; /** * Begin a macro definition. Macros are saved in a 64-byte buffer and can be any * sequence of Ninja commands and numerical data. Each command occupies one * byte. Each numerical entry occupies two bytes, regardless of its size in * ASCII form. All commands, up to and including a terminating ")", are simply * buffered and not executed. * * @author Manish Pandya (July 1 2008) * */ public class MacroBegin extends CommandSingleChar { /** * Creates a BeginMacro command */ public MacroBegin() { command = "("; } /* * (non-Javadoc) * * @see org.hooliguns.ninja.telnet.Command#getHumanName() */ public String getHumanName() { return "( - macro start"; } }