07-02-2008, 08:28
|
|
אדמין לשעבר
|
|
חבר מתאריך: 25.10.01
הודעות: 20,292
|
|
לכל המגיבים כאן בפורום (במיוחד המנוסים), מומלץ לקרוא:
הודעה שנכתבה בפורום אחר:
ציטוט:
במקור נכתב על ידי Karl Shifflett
Fellow Lounger's,
In 1989 I purchased the book, Learn QuickBasic. It came with a code editor. You could type in your code and run the program.
After I learned the language, I wanted to use Btrieve as my record manager. So I got the Btrieve manual and read the instructions for using their libraries. But I couldn't figure out how to use the libraries with the Learn QuickBasic editor.
So, I called up Novell tech support. The lady I spoke with told me to link their library in when I compile my application.
My question to her was, "what is compile?"
Some would have burned me on the front lawn for such a stupid question.
But sometimes (not always) it is a matter of experience, training and context. You see, Learn QuickBasic didn't compile, it ran inside the editor. So from a Learn QuickBasic perspective, it was a valid question.
End Result
That day I went back to the store and purchased QB 4.5 and learned how to link in libraries and compile an application.
Just a year later, Novell came out with Extended Operations for Btrieve. All their examples were in C. Novell couldn't figure out how to tell their QB 4.5 and BC7 customers, how to use the new Extended Operations feature, because Extended Operations required using C UNIONS. UNIONS are not in QB 4.5 or BC7.
A very short time after this came out, I was invited to Novell's class on Extended Operations, they even waived my entrance fee. I got to the class and the room was filled with C programmers.
After attending the first day of class and learning about UNIONS, I went back to my room and figured out how to do this in QB 4.5 and BC7. In fact the solution was so simple; just use an LSET statement to move the returned data into another data structure. You could also use $BCopy but Novell only wanted standard QB 4.5 statements.
Novell wrote their documentation, I got credit and everyone moved on.
And this from the guy who asked the dumbest question ever, "what is compile?"
Maybe we should cut some of the less experienced developers just a little slack...
Cheers, Karl
|
http://www.codeproject.com/Lounge.a...037#xx2417037xx
_____________________________________
דורון
|