#include #include "console.h" #include "browse.h" #include "wait.h" #include "screen.h" int main( int argc, char** argv) { char path[PATH_SIZE]; clrscr(); strcpy(path, argv[0]); int selected=1; while(selected) { selected=chooseFile(path,path); clrscr(); resetConsole(); if(selected) { displn("NDShell (Nspide Demo Shell)",1); displn("",0); displn("by Xavier Andreani, with the help of UTI and the encouragements from TI-Bank and Levak",1); displn("",0); displn("",0); displn("Nothing will be done with file:",1); displn(path,1); displn("",0); displn("",0); displn("Insert the actions you want to perform here in the included GPL C source code.",1); displn("",0); pause("",1,1); // DO WHAT YOU WANT WITH THE FILE HERE /* File file = fopen(path, "rb"); fclose(file); */ } } return 0; }