MENU SYSTEM FOR GWBASIC FILES 
Author Message
 MENU SYSTEM FOR GWBASIC FILES

Can anyone guide me to a MENU system to show all of my GWBASIC FILES.
Thank You
Bob


Sun, 07 Oct 2001 03:00:00 GMT  
 MENU SYSTEM FOR GWBASIC FILES

Quote:
>Can anyone guide me to a MENU system to show all of my GWBASIC FILES.
>Thank You
>Bob

There is an old shareware DOS program called automenu that was popular before
Microsoft decided that "The Whole World Shall Be VISUAL!!".  It could be
configured to list a set of programs and let you select one with the arrow
keys.

It should also be possible in GWBASIC.  A SHELL command can write the names of
all .BAS files in a directory to a text file:
  SHELL DIR *.BAS /s > DIRTEMP.TXT
The GW program can then open the file for input and display the filenames.  It
is possible to use the mouse in GWBASIC, but that's another story.  You can use
INKEY$ in a loop to wait for an arrow key, and move the cursor around the
screen.  When the cursor is on the filename you want, the CSRLIN and POS
functions will get the row and column of the cursor, and SCREEN(row, column)
will get the character at that position.  Once you have a filespec, you can use
RUN or CHAIN to execute it.

Another approach would be to use a keyboard macro processor, like the current
DOSKEY or the old CEDIT to define a macro that would do a DIR *.BAS, accept a
filename, and run GWBASIC with the /run switch to run that program.  You would
have to type the filename, but this a lot easier to implement than a real menu
system.

**********************************************************************
If it's spam, it's a scam.  Don't do business with Net abusers.



Sun, 07 Oct 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. GWBASIC (1/1) - gwbasic.zip [2/2]

2. GWBASIC (1/1) - gwbasic.zip [1/2]

3. Help! Creating menu in the system menu

4. Windows 95 System Menu and PopUp Menus PROBLEM

5. Adding a menu to the system menu???

6. Adding Menu Items to App's System Menu using VB5.0

7. Disable Menu item in MDI system Menu?

8. Controlling menus in system menu

9. Adding Menus to the system menu

10. conversion of gwbasic file to ASCII format

11. How to print a GWBasic file ?

12. GWBasic file formats and tools

 

 
Powered by phpBB® Forum Software