T.R | Title | User | Personal Name | Date | Lines |
---|
364.1 | Seems to be a holdover | WAYLND::HOWARD | Hail to the Redskins! | Mon Mar 30 1992 20:57 | 9 |
| This probably happened in the SELECT form back in V2.2. I guess if you
still have that form it works. I have the file, but nobody in it. I
guess if you customized the SELECT form and still have it, it still
works.
I certainly don't see anything in named data to create the file now.
Ben
|
364.2 | It works for me ;') | 57826::VICKERS | If it helps a customer, DO IT | Mon Mar 30 1992 21:22 | 26 |
| Of course, it takes a 'few' steps to get it to work:
DIR PER
I
ALL
XP
B
FILE ! Print to a file
PHPSEL.SEL ! Print to the SEL file
{EXIT}
SEL
{SEL}
I also have to skip over the first few items returned as they look a
lot like the header records from the report.
As Ben points out, the normal way to have created .SEL files was via
SELECT and SEARCH forms but these has largely disappeared since the
advent of INDEX forms in V2.3.
If you wish to give the users the ability to use the SEL file then you
could create the file via a template or the TEXT_FILE function. Or you
can have a SEARCH form that doesn't display.
Have fun,
don
|
364.3 | Still wondering why its there! | IRONIC::MINTZ | Mall Rat | Mon Mar 30 1992 22:51 | 19 |
| Thanks Ben & Don for your prompt replies!
This is the REAL scoop...I've been teaching ALL-IN-1 Application
Programming since V2.0. I'm part of the development team working on
the modifications for the V3.0 programming course.
What I'm looking for is a relatively *simple* example (in the base kit)
of an ARG form to present in the course. The example that was used for
the 2.4 course no longer exists in the base kit. Most of the code
relating to any of the "directory" subsystems are fairly straightfoward
and great examples for the novice programmer.
That's why I was wondering why the /LIST was still there in V3.0 (BTW,
Don, your "few steps" worked on my 2.4 system, but not on my 3.0
system!)....any answers?
Thanks again...
audrey
|
364.4 | ARG forms get no respect | 57826::VICKERS | If it helps a customer, DO IT | Mon Mar 30 1992 23:00 | 15 |
| Audrey,
I did the 'few steps' on my V3 system, actually. I may have made a
typo when I entered the steps here, of course. How did the operation
fail? One possibility is that you pressed the SEL (KP.) key prior to
having the .SEL file in the directory so ALL-IN-1 very cleverly cached
the null file into memory. If this is the case then just use the nasty
old DUMP_CACHE function.
The other subsystem which is good for simple example gathering is the
Nickname menu. I would nominate NISEL as a simple ARG form. If I were
an ARG form I would even more simple than I am already, of course.
Have fun,
don
|
364.5 | It worked for me too... | IRONIC::MINTZ | Mall Rat | Mon Mar 30 1992 23:24 | 13 |
| Egg on my face, Don!
I tried your "steps" again on my 3.0 system and, it worked. Hope you
forgive me for questioning the "steps"...
Thanks for the suggestion of NISEL - it's simple enough in that there's
only one field - but the .TYPE code is a bit much for this audience. I
may go with the UPS option off of the User Setup. The ARG form for the
SELect option looks fairly elementary.
Keep those suggestions coming. It's appreciated.
audrey
|
364.6 | What vhatch? 10 vhatch. Such vhatch! | WAYLND::HOWARD | Ben. It should do what people expect it to do | Thu Apr 02 1992 21:21 | 20 |
| The /LIST is probably an oversight here. The developer probably forgot
about it or didn't bother to remove it. There are a lot of things in
ALL-IN-1 that exist in the code, but are not used in the product. An
example is the /TIME qualifier which will put the time in the specified
field. (Try <FORM DIRPER/TIME=TIME. You didn't notice that most menus
have a TIME field, did you? Now watch time stand still. Left over from
CP/OSS, but still in V3.0)
For some reason, /LIST never seemed to be implemented properly in a lot of
menus. Getting the DUMP_CACHE to work right was a real pain. As Don
said, if you create a new file while one is cached, ALL-IN-1 uses the
old one. If you then DUMP_CACHE, the old one is written to disk and
the new one is deleted. The pre V2.3 SM menu was an excellent example
of how not to use this!
I think SELect is the most common use of an ARG form today. The
printer selection form is another good one. But there's even more in
the .TYPE line there than in the other one.
Ben
|