Search found 5 matches

by stilgar
Thu Jun 19, 2008 12:07 am
Forum: QBasic / QuickBasic related
Topic: reading a file list
Replies: 1
Views: 2440

reading a file list

Hello all,
not sure what to call this. So here goes.

I need to read a directory and fill a menu type list with the file names.
then the user selects a filename to load.

I was thinking of using the menu code from my thread here.
https://qbasic-forum.qbasic.net/viewtopic.php?t=587

so what i would ...
by stilgar
Wed Jun 18, 2008 3:20 am
Forum: QBasic / QuickBasic related
Topic: simple menu
Replies: 2
Views: 2899

Thanks pebe.
I found my old menu code its a bit longer that the other, perhaps someone can use it.

Code...

DIM MenuItem(6) AS STRING 'define the menu item array
DIM ChooseItem AS INTEGER ' currently chossen menu item
DIM XMenuPosn AS INTEGER 'controls menu x positions
DIM YMenuPosn AS INTEGER ...
by stilgar
Mon Jun 16, 2008 12:57 am
Forum: QBasic / QuickBasic related
Topic: simple menu
Replies: 2
Views: 2899

simple menu

hey all,
I am having trouble remembering how to make a simple 1 colum scroll menu for 5 items. i remember it used menuitem command, but not remeber any more.

I also remeber that it highlighted the item as you used the up/down buttons to scroll. then hit return to select the item.
thanks
by stilgar
Thu Jun 12, 2008 12:44 pm
Forum: QBasic / QuickBasic related
Topic: TIME$
Replies: 7
Views: 4621

Thank you.
I knew it was simple, I did it many years ago, and just couldn't remeber.
by stilgar
Thu Jun 12, 2008 3:57 am
Forum: QBasic / QuickBasic related
Topic: TIME$
Replies: 7
Views: 4621

TIME$

Hello all,
How do I split apart TIME$ so I can save it as 3 variables?

thank you.