The only ways I can think of would be to save the syntax (e.g., paste the COMPUTE statement if you're using the UI), or create a variable label that contains the formula. As a simple example:
COMPUTE y = 1/x.
VARIABLE LABELS y "1/x".
------------------------------
Rick Marcantonio
Quality Assurance
IBM
------------------------------
Original Message:
Sent: Wed March 01, 2023 08:48 AM
From: Robert Cale
Subject: Viewing and editing variable formulas
Once I have created a variable with a formula (using Transform\Compute Variable) and have saved it, I don't see a way to go back and view or modify that formula.
Original Message:
Sent: 2/28/2023 4:51:00 PM
From: Rick Marcantonio
Subject: RE: Viewing and editing variable formulas
I'm not sure what you mean.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
Original Message:
Sent: Tue February 28, 2023 04:49 PM
From: Robert Cale
Subject: Viewing and editing variable formulas
How can I view and edit a formula for a variable that I have created?
------------------------------
Robert Cale
------------------------------