HP3000-L Archives

September 2002, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"VANCE,JEFF (HP-Cupertino,ex1)" <[log in to unmask]>
Reply To:
VANCE,JEFF (HP-Cupertino,ex1)
Date:
Mon, 30 Sep 2002 14:58:48 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
setvar x decimal(!y-1)   -- or --
setvar x "![!y-1]"

HTH,
 Jeff Vance, "CSY"

> Okay, I'd swear this is easy.  I have a CI variable that is a
> numeric string (like "2000") and I would like to set another
> CI variable to be a numeric string that is one less ("1999").
>  How can I perform math on the first variable?  Is there a
> simple way (that I'm just not remembering) to convert a
> string variable to a number, then back again?

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2