[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2004.0. "EM Indexes - How do they work?" by BRUMMY::MARTIN::BELL (Martin Bell, TCC, Birmingham UK) Tue Dec 22 1992 13:20

Oh dear, i have got brain-fade yet again!

Within EM$INDEX$OPTIONS, the code for eg. "IR" does a quick test to
see if there is anything with a folder of "READ", and then loads
OA$MENU_REMAINDER with the string "INDEX_READ_FOLDER " plus the old
contents of that symbol.

Thus "INDEX_READ_FOLDER summat" gets passed back to the menu-parser,
but what interprets this string? I cannot work out how further
processing is done or where the menu option INDEX_READ_FOLDER is stored.

It is probably very obvious, but please can someone explain in simple
terms - it must be the cold weather freezing my brain cells,

Cheers,

mb

p.s.

Named Data segment below ...


;;OA$_MO_READ_FOLDER;; IR

GET #OLD_DRAWER = #EM_PRVDWR\OA$MAIL_SET_DRAWER\
FOR FIRST CAB$ WITH .FOLDER == #READFOLDER
 DO OA$FLD_EXIT \\
    CLOSE_PRIOR\\
    OA$MAIL_RESET_DRAWER\\
    GET #EM_PRVDWR = #OLD_DRAWER\\
    GET OA$MENU_REMAINDER =  "INDEX_READ_FOLDER "  OA$MENU_REMAINDER \
IFEXIT\                               ^
OA$MAIL_RESET_DRAWER\                 |
GET #EM_PRVDWR = #OLD_DRAWER\         +----- What processes this value?
GET OA$MENU_REMAINDER = ''\
GET OA$DISPLAY = OA$_EM_EMPTY_READ
T.RTitleUserPersonal
Name
DateLines
2004.1IOSG::MAURICEIs there life on IOSG?Tue Dec 22 1992 16:2131
    Hi,
    
    The Named data for "INDEX_READ_FOLDER" and others has been well hidden
    from prying eyes. If you promise not to tell anyone else, all is
    revealed on form FC1.
    
    And now, ta da, back from the dead, please give a warm welcome to:
    
    	Winton !!
    
    
    Well thanks Stu! A good scottish namee  if I ever heard one !
    I'd just like to thank Dave Tyldsley for signing me through the
    door...
    
    Anyway... I canna remember why I wrote it like that, except it had
    something to do with the need to swap between WP drawer context, EM
    drawer context, and switch backwards and forwards between the 'mail'
    drawer 'indexes'... Anyway, if anyonee wants to buy me a Laphroaig or
    two.. 
    
     Cheers, 
     Winton
    
    p.s. I've left the typos in so that you know it really is Winton ;^)
    
    p.p.s. Sorry to say he's returning to finish off his Master's degree. 
    
    P.p.p.s You can contact me  through my Agents at
    Digital Recruitment Co (no relation to DEC!) Available for parties,
    soirees and ceilidhs...
2004.2Obvious innit!BRUMMY::MARTIN::BELLMartin Bell, TCC, Birmingham UKTue Dec 22 1992 17:2616
Phew!

	you are right, there they are, sitting on the form that you
said - i'll not mention it by name, 'cos its a secret!

I think i understand how it all works now - i never thought that
you would be dropping out of the bottom if the current index form
and going back into the new one!

Maybe i need a few Laphroaigs myself to make it all clearer ;^)


thanks for the pointer, and have a happy crimble,


mb
2004.3Not a bad choice by old Wanton DeviousAIMTEC::WICKS_AA year behind in more ways than oneWed Jan 06 1993 03:496
    actually since FC1 is a /MORE to both EMC and WP it seems a good 
    place to put things that might be common to be both subsystems.
                  
    Regards,
    
    Andrew.D.Wicks