Team Ai
Datasetpublic

hschumann2/TempleOS-Source-Code

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes847downloads
InEd.txt30 linesDownload Raw Back to InFile
1 2/* To run this, do a directory, right click on3this file's name and sel "InFile".4Or, type InFile(filename);5See InFile in the glossary for more info.6 7This InFile will renum the defines in8InEd.DD.Z.  Test it by numbering a few wrong9and running this demo.10 11*/12 13U8 i;14 15"Ed(\"InEd.DD.Z\");\n";16//Go to start of file17Msg(MSG_KEY_DOWN,0,SC_CURSOR_UP|SCF_CTRL);18for (i=0;i<=0xC3;i++) {19  if (i)20    Msg(MSG_KEY_DOWN_UP,0,SC_F3);21  else22    "%c0x%c",CH_CTRLF,CH_ESC;23  Msg(MSG_KEY_DOWN,0,SC_CURSOR_RIGHT);24  Msg(MSG_KEY_DOWN,0,SC_CURSOR_RIGHT);25  "%02X",i;26  Msg(MSG_KEY_DOWN,0,SC_CURSOR_RIGHT);27  Msg(MSG_KEY_DOWN,0,SC_CURSOR_RIGHT);28  "%c%c",CH_BACKSPACE,CH_BACKSPACE;29}30