Can different checks be converted into single check?
#4

Quote:
Originally Posted by admantis
Посмотреть сообщение
Make a function that returns a value (a number: 0 for success, anything else for an error code) and use it as a validator across your commands. Example:

Код:
poof
That doesn't really change anything though, he's looking for code optimization.

@TahaMhr, I think that the issue here is the way you've designed this code, can you explain what you're doing exactly? So we can get the better picture.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)