Victor,
I don't have access to WP 5.1 anymore, but I do have WP 6.0 DOS. In WP60 you
can read from and write to Shell macro variables from a WP macro, but not
vice versa. In other words, you can't poke a value into a WP macro variable
using Shell, but you can pull a value from a Shell macro variable and save
it into a WP macro variable using a WP macro, and you can poke a value into
a Shell macro variable using a WP macro.
I don't recall if WP51 macros had that same ability. I think they might but
I don't recall exactly how. It's been far too long since I worked with WP51.
Maybe it was something in the {SYSTEM}sysvar~ function that let you read a
Shell macro variable? I just can't remember.
Tim Rude
----- Original Message -----
From: "Victor Warner" <[EMAIL PROTECTED]>
To: "DataPerfect Users Discussion Group" <[email protected]>
Sent: Monday, September 04, 2006 12:38 PM
Subject: [Dataperf] DataPerfect, Shell and WP51 Macros and variables
> Although this is strictly a macro question, it relates to processing
> DataPerfect data.
>
> Using a Shell macro (using the Screen Copy Mode of shell) I have assigned
> the contetns of a couple of fields to a couple of Shell variables. I would
> like to pass those values to WP51 variables for use in a WP51 macro so
> that I can change DataPerfect data saved as a merge file before it is
> reimported into DataPerfect
>
> The Shell macro reference manual states that the passing of the values is
> possible (using the Ctrl-PgUp command), but the example given does not
> work (at least for me).
>
> Would anyone in this discussion group know about this and/or be able to
> help me? If so I can then type out the example given in the reference
> manual.
>
> Any help would be gratefully received.
>
> Victor Warner
> _______________________________________________
> Dataperf mailing list
> [email protected]
> http://lists.dataperfect.nl/mailman/listinfo/dataperf
>
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf