[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Adding a program to U2 [was English & XPL]



Reply to note from Morris Krok  Wed, 06 Jun
2001 10:45:11 -0700

> At one time I was told how to load a new program into a U2
> file (Xy4) but have forgotten. I wonder if someone can remind
> me.

Here's how to add your own programs to the Jumbo U2. (The following
assumes that the Jumbo U2 is already installed.)

A) Put your XPL code in a Type 5 frame, like this:

{{5progname}}
{2}your code here{2}

where "progname" is the name you want to use to launch the program,
and "{2}" represents an Ascii-2 reverse-video smiley face.

Make sure that PROGNAME doesn't duplicate any framename already in
use. (Issue HLIST to get a sorted list of existing U2
framenames.) If your program uses Save/Get 00 as an argument
holder, renumber that Save/Get to 50.

B) CoPy the frame into your U2 file.

C) Do NOT attempt to SAve the U2 file. Rather, with U2 in the
current window, issue LH, then ABort the file.

You can now launch your program with PROGNAME [arg(s)].

--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/