Question about Echoing Variables

Toshiba Satellite l505d-s5965 notebook
May 24, 2010 at 03:32:00
Specs: Windows 7, 1024
How would i go about echoing variable but if they would equal zero than dont echo them?


like
var1=1
var2=2
var3=3

but if one of those would equal 0 then dont have it echo but the other would?


thank you


See More: Question about Echoing Variables

Report •


#1
May 24, 2010 at 03:36:55
if %var% neq 0 echo.%var%

Report •

#2
May 24, 2010 at 03:40:58
if %varX% neq 0 echo.%varX%


=====================================
Helping others achieve escape felicity

M2


Report •

#3
May 24, 2010 at 03:43:14
Hi IVO,

Sorry, my ISP crapped out. AGAIN

OT: What's your prediction for the Euro?


=====================================
Helping others achieve escape felicity

M2


Report •

Related Solutions

#4
May 24, 2010 at 04:02:00
About Euro there is nothing to fear. Years ago the exchange Euro to US Dollar was as low as Euro = 0.80 US$ and today it is Euro = 1.25 US$.

European economy is badly defined by government reports. Wealth is greatly hidden (and that is hjgly true for Italy). So stated the crisis is real as this is a social crisis that will require a deep change in our behaviors, in Europe as much as in US.


Report •

#5
May 24, 2010 at 04:58:30
Hi IVO,

I agree with your comments. I thought the Euro was a bad idea right from the start.

I was hoping you had a prediction about the near term USD/EUO rate.

I made some money last week shorting EUO.

Right now it's about 123.84


=====================================
Helping others achieve escape felicity

M2


Report •

#6
May 24, 2010 at 06:20:14
Hi M2,

I am mainly an engineer though with some exposure to finance. Anyway I never attended courses at Harry Potter's School of Magic. To get financial predictions about Euro/USD rate better you query a wizard as here we are in the realm of magic not science (indeed Economics is magic and Finance is BLACK magic).


Report •

#7
May 24, 2010 at 06:33:20
HAHA Harry Potter. nice one IVO :D

Report •

#8
May 24, 2010 at 07:22:02
Yeah, it's magic.

So is an S-band parametric amplifier.


=====================================
Helping others achieve escape felicity

M2


Report •


Ask Question