comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » using octal codes for special characters
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: using octal codes for special characters [message #13942 is a reply to message #13850] Tue, 22 December 1998 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:
>
> Craig (Scrooge) Markwardt (craigmnet@astrog.physics.wisc.edu) writes:
>
>> Soapbox: May I recommend that *nobody* use double-quote octal codes in
>> their new IDL programs. They are abominable to look at, can be
>> ambiguous, and are confusing. The fact that the second quote never
>> appears is particularly insidious.
>>
>> The "single-quote" form is not much better, but at least it is
>> consistent in the sense that there are two matching quote characters.
>>
>> These two expressions perform the same operation:
>>
>> a = '355'OB ; SINGLE QUOTE FORM
>> a = "355b ; DOUBLE QUOTE FORM
>>
>> I believe the first form should always be preferred.
>
> This takes *all* the fun out of adding octal codes to
> your programs. I'm *completely* against it. :^)
>
> And a Merry Christmas to you, Sir!

Bah! Humbug!

--
------------------------------------------------------------ --------------
Craig "S" Markwardt, Ph.D. EMAIL: craigmnet@astrog.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: "clamping" an array to a maximum value?
Next Topic: Moving Realized Widgets

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:54:30 PDT 2025

Total time taken to generate the page: 0.96445 seconds