PopUp("ACInit(\"::/*;!*/Bible.TXT*\");"); AutoComplete(ON); Sleep(3500); //Puts the cursor at the bottom. Msg(MSG_KEY_DOWN,0,SC_CURSOR_DOWN|SCF_CTRL); "\nCd(\"::/Demo\");\n"; TourPut( "AutoComplete is a feature which also lets you jump to source code of " "symbols. The function keys jump to code, while the number keys jump to " "dictionary definitions.\n\n" "We will now place some text on the command line and jump to source code.\n", TRUE); "MakeOS"; TourPut( "Look at the $$GREEN$$MakeOSDrvBootInstall$$FG$$ entry in the AutoComplete " "window. Notice it is underlined. This means a source code link is " "available.\n\n" "Press $$GREEN$$$$FG$$ to jump to source code.\n"); AFGetKey(SC_F1|SCF_CTRL|SCF_SHIFT); Sleep(500); WinToTop;//Kludge TourPut("Press $$GREEN$$$$FG$$ to abort the source code.\n"); AFUntilChar(CH_ESC,CH_SHIFT_ESC); TourPut("Press $$GREEN$$$$FG$$ to autocomplete.\n"); AFGetKey(SC_F1|SCF_CTRL); Sleep(500); Msg(MSG_KEY_DOWN,'\n',SCF_CTRL|SCF_SHIFT); "\n"; TourPut( "Tip: You can restart the AutoComplete window if you have closed it by " "pressing $$GREEN$$$$FG$$.\n",TRUE); TourPut( "You can also use the $$GREEN$$Man()$$FG$$ function to jump to source code. " "(I use AutoComplete.) The $$GREEN$$Man()$$FG$$ is good for short symbol " "names or when inside the debugger.\n",TRUE); AFPrint(,"Man(\"U\");"); Sleep(1500); "\n"; TourPut("Press $$GREEN$$$$FG$$ to abort the source code.\n"); AFUntilChar(CH_ESC,CH_SHIFT_ESC);