Topic: Atoi(r) (1 of 4), Read 16 times
Conf: VEDIT Macro Language Support
From: LeRoy Stevens
Date: Wednesday, March 11, 2009 06:28 PM

I am trying to use the Num_Eval_Reg(r) command to get the numeric expression of text register 70 and place that into text register 71 (so I can see if I can use numeric in the background for >= logic for the Julian date). What did I miss?

#103=Dialog_Input_1(70,^` Met v1.0`,
`Enter the Julian Date to search for using three numbers (Dates equal to or greater will be used for search).`,
`Example: 035 or 107.`,
`??Julian Date:`,
`[&Ok]`,`[Cancel]`^,"107",APP+COUNT+CENTER,3,0,0)
// or [Cancel]
if (#103==0 || #103 == 2) { GoTo MSG }

#71 = Atoi(70)

 


Topic: Atoi(r) (2 of 4), Read 16 times
Conf: VEDIT Macro Language Support
From: LeRoy Stevens
Date: Wednesday, March 11, 2009 06:31 PM

I forgot to mention, in my test I entered 069, I can see that in the Help Menu Text Registers but no existance of Text Register 70.

 


Topic: Atoi(r) (3 of 4), Read 17 times
Conf: VEDIT Macro Language Support
From: Ian Binnie
Date: Wednesday, March 11, 2009 07:34 PM

On 3/11/2009 6:31:18 PM, LeRoy Stevens wrote:
>I forgot to mention, in my
>test I entered 069, I can see
>that in the Help Menu Text
>Registers but no existance of
>Text Register 70.

Your macro appears to work.

What is the question?

 


Topic: Atoi(r) (4 of 4), Read 19 times
Conf: VEDIT Macro Language Support
From: LeRoy Stevens
Date: Wednesday, March 11, 2009 08:23 PM

Reading your message I realized I was looking at Text Register 71 instead of Numeric Register 71.

Sorry. But thanks for the help.