Several things about the new LIBRARY command:
1) The files don't require a particular extension. I tried a test file named LIBRARY_FILES.txt and it loaded.
Show_Library {
@echo off
Echo This is the Show_Libary function in LIBRARY_FILES.txt
pause
}
2) Contents of a function are autonomous.
That means that the function code for each function must begin with @echo off. If it doesn't, the commands will display, the same as if a batch file did not begin with that. I put @echo off before the function definition and it had no effect. (WAD)
1) The files don't require a particular extension. I tried a test file named LIBRARY_FILES.txt and it loaded.
Show_Library {
@echo off
Echo This is the Show_Libary function in LIBRARY_FILES.txt
pause
}
2) Contents of a function are autonomous.
That means that the function code for each function must begin with @echo off. If it doesn't, the commands will display, the same as if a batch file did not begin with that. I put @echo off before the function definition and it had no effect. (WAD)