Replacing code with random number
#3

Quote:

The range of values (from 0 to this value minus one) that can be returned.

random(1) will always return 0, random(2) will return 0 or 1. Also OP wants compile time random values, not runtime ones. Sorry, I only know how to write a plugin for sublime, I don't know if notepad++ supports such thing
Reply


Messages In This Thread
Replacing code with random number - by ax1 - 11.08.2016, 16:30
Re: Replacing code with random number - by Luicy. - 11.08.2016, 16:32
Re: Replacing code with random number - by Misiur - 11.08.2016, 16:48
Re: Replacing code with random number - by Vince - 11.08.2016, 17:44
Re: Replacing code with random number - by SickAttack - 11.08.2016, 17:55

Forum Jump:


Users browsing this thread: 2 Guest(s)