23.02.2018, 08:16
Staying on topic of this thread, you had the right idea with the code itself, just didn't set it up correctly.
Using sscanf you can set a default value if the param is not used.
EDIT: Use @Arthur Kane, he beat me too it
Using sscanf you can set a default value if the param is not used.
EDIT: Use @Arthur Kane, he beat me too it