Re: Game in dos


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]

Posted by fuzzbrain11 on February 12, 2011 at 13:59:36:

In Reply to: Re: Game in dos posted by SpywareDr on February 10, 2011 at 09:41:00:

: @echo off
: if (%COINS%)==() set COINS=0
: set /a COINS=%COINS%+10

thanks for reply :) but how would i make it so that you can compare it with another value (variable) for example, say the user wanted to buy an item that was say 50 coins, how would you make it so that you can compare the amount of coins they have (using greater than or less than) again help appreciated :)


Follow Ups:



Post a Followup (use TAB key to move between boxes - NOT ENTER or RETURN)

Name:
E-Mail:

Subject:

Type your comments in the box below and SUBMIT:


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]