Oh, thanks! I didnt see it before :P/>
hehe. it's usually the simplest things
i read the output several times before i saw it staring me in the face :)/>
I know about your API already, and it was my inspiration, i wanted to do something on my own :)/>
to make it more proactive in Ask a Pro, and as [member='Lyqyd'] has detailed
here in the Read This Before Asking thread, it's
always better to state the full reason behind something…
When creating a question topic, be sure to fully explain your question. If you're having a problem with a piece of code, you should explain three things about it. Explain what you're trying to do, the big picture goal for the program. [..] Next, explain what you expect the piece of code that you're having trouble with to do. Finally, explain what the code is actually doing instead of what you want it to do.
that's not a complaint at all, as "your inspiration" is not explicit in that text, but i'm sure you see how it fits the same goal as lyqyd's message :)/> - your original question would have been better if it had said "I was inspired by ABC to do XYZ so as to learn it myself"
also, within your clarification, do you mean you're trying to replicate almost the same thing using your own new code?… or are you're trying to do a slightly different task than [member="surferpup"]'s API?
- both are equally good to do -i'm not knocking either reason- but if you're modifying his API, then a good question might be "Is is possible to do XYZ by changing your api in someway - don't tell me the way to do it, as I want to work that out myself"
and that way, you can hack, but still have the enjoyment of assisted self-discovery - but also with the knowledge that you have probably a flattered author of the api, who will be the best person to ask if you get stuck
i hope that makes sense…
- i'm not trying to poke fun or rules at you or anything like that. just sayin' :)/>
oh, and
BTW. it didnt work (lol?) i did:
api = dofile("timeapi")
api.printTime([...])
is about as useful as a conversation starter which says "You know what? I went to the shops yesterday…" and nothing else.
you can't say that without everyone going "AND? … What happened?" :)/>
*cough* - see the last part of that quoted section from the forum sticky *cough*
it may not be relevant to you anymore if you've decided to write your own, but it'd still be nice to know how something didn't work rather than just saying it didn't as it could be a valid bug… or it could be operator error