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

Home » Public Forums » archive » C syntax for IDL
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: C syntax for IDL [message #7697 is a reply to message #7589] Tue, 10 December 1996 00:00 Go to previous message
Uwe Knorr is currently offline  Uwe Knorr
Messages: 2
Registered: August 1996
Junior Member
Charles Martin wrote:
>
> I program mostly in IDL, but every once and a while I program in C. I find
> the switch to be unnecessarily painful. What I would really like is an
> alternative syntax for IDL that would be C-like. For example:
>
> for i=0,10 do begin
> x(i)=i
> endfor
>
> Could become
>
> for (i=0; i<10; i++) {
> x[i]=i
> }
>
/* a few lines later */
>
> Charles Martin
> University of Texas

You took the words right out of my mouth ...
As a (mainly) C programmer it always takes me a while to switch to IDL.
(And if you do some perl in between, you may go crazy)

My tip:
Copy & Paste the HandiGuide (using a copy-machine and some glue) to your
needs.

If someone will ever change the syntax, please please be
consistant. If degree to radiant is !DTOR , then
why is the reverse !RADEG (and not !RTOD) ?

But nevertheless, if you once get used to the syntax (and
you have the HandiGuide at your fingertips)
you have a fantastic product ;-)

Uwe Knorr

----------------------------------------------------
\ Uwe Knorr
\ MNR-Klinik / Neurologie / Uni Duesseldorf
\ mailto:knorr@neurologie.uni-duesseldorf.de
\ http://www.neurologie.uni-duesseldorf.de/~knorr/
----------------------------------------------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Two dimensional fast fourier transforms
Next Topic: More on Exp bugs

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

Current Time: Fri Oct 10 21:57:26 PDT 2025

Total time taken to generate the page: 0.15733 seconds