Your Ad Here
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
%random% variable troubles.
11-04-2009, 02:22 PM
Post: #11
well i made a mistake but it was a typo and the code needs %%%225+1 just try it
Code:
@echo off
set /a num=%random%%%225+1
echo %num%
pause
ffs :|

>Nul
Find all posts by this user thanks
Quote this message in a reply
Your Ad Here
11-04-2009, 02:32 PM
Post: #12
just tested and i see that you were right on that with the 255+1 but it still only 2 "%"s and dont call me moron

[Image: 6128.png]
Find all posts by this user thanks
Quote this message in a reply
11-04-2009, 02:45 PM
Post: #13
next time don't drive me crazy about something i know .. :|

>Nul
Find all posts by this user thanks
Quote this message in a reply
Post Reply