String constant troubles [message #1799] |
Sat, 22 January 1994 18:28 |
zowie
Messages: 9 Registered: March 1994
|
Junior Member |
|
|
Whenever I deal with IDL, I'm always impressed both with the completeness
of it, and with the boneheadedness of it. Sometimes I'm struck with the
urge to take all the programmers out back and throttle them!
Here's a quote from the IDL User's Guide, p. 2-6:
QUOTATION MARK (")
The quotation mark precedes octal numbers, which are always integers,
and delimits string constants. Example: "100B is a byte constant equal to
64 base 10 and "Don't drink the water" is a string constant.
So far so good. They don't mention that "100B" is neither byte constant
(possible) nor string constant (right and correct and good). Instead, it's
a SYNTAX ERROR!
What were they thinking?
--
DON'T DRINK SOAP! DILUTE DILUTE! OK!
|
|
|