Forum Navigation
You need to log in to create posts and topics.

Suggestions for FB^3

Posted by: friedo <friedo@...>

First, thanks to everyone who clarified volume refnums for me. 🙂

Second, I was reading over the cool new features for FB^3 and I had an
idea. Making menus with the standard MENU command can get a little
annoying because you have to assign each item an ID number. I was
thinking of something like:

BEGIN MENU MenuName
ITEM ItemName, ItemRefNum, [Atrribs]
...
END MENU

This would provide a few advantages:

1: It's easier to look at
2: ItemRefNums don't have to be in any particular order, as long as
they're unique
3: This would make contextual menus really easy, because you could do

BEGIN MENU "My Example Menu"
ITEM "First Item", 1
ITEM "Second Item", 2, checkedBoolean 'Checked if true
IF ConditionExists THEN ITEM "Third Item", 3
ITEM "Fourth Item", 4
...
END MENU

In this case, the third item would only show up if ConditionExists is
true. If it's false, then the fourth item becomes the third, but still
has the refnum of 4.

This structure would also allow one to use the old style MENU commands as
well, if one wished.

Just a thought...lemme know what you guys think. 😉

- - -
Mike Friedman | The Internet Link Exchange
http://www.ncfj.org | X091917 - - - - - - B000509
http://www.ncfj.org/friedo | http://www.linkexchange.com

It's better when you're alone because nobody knows you.
It's better when you have no friends because nobody leaves you.
-- The Wallflowers