sscanf setting param to 114 if nothing is entered
#1

So I have an optional param in my code, using sscanf, it's new amount; and it's an optional param (D). Although, there's a certain point in the code I need it to be entered, but it has to be optional because there's a part before it that I don't need it to be entered, but in the part I need it to be entered, if I don't put any 'amount' then it sets it to 114, but I need to ask if nothing is entered then return blablabla.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)