General information
Category:
Object Oriented Programming
>Frankly, as with other OS calls, use sparingly. In case of clipboard, I prefer to call it only once, i.e. do everything to a local variable, and then when I'm done with it, copy it to _cliptext.
Yupp, "Code Chunky, not Chatty!"
>I've had similar cases with other system calls, like erase file - which is just a wrapper for the filesystem function, which is then executed... a bit later. So in the next step I try to create a new version of that file and bang, file still exists. Or, open a file for something, close it, try to erase - bang, still not closed, I was too fast. Will close a few milliseconds later, when the OS finishes doing other stuff.
Run del worked pretty well for in house stuff ;-))
>So my rule of pinky is to not call OS stuff in a fast loop, but rather when I get out of it.
makes sense
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only