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
C syntax for IDL [message #7589] Thu, 05 December 1996 00:00 Go to previous message
martin is currently offline  martin
Messages: 18
Registered: January 1993
Junior Member
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
}

It seems like the mapping from one syntax to the other is pretty straight
forward. You could put a command at the beginning of each program to tell
it which interpretter to use.

This alternative syntax would be helpful to me in 2 ways. First, it would
help me keep my C programing skills alive. Second, it would help me
recruit the assistance of C programmers here where I work.

This would also solve that function-array ambiguity that everyone else is
talking about.

Charles Martin
University of Texas
[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 05:53:26 PDT 2025

Total time taken to generate the page: 0.31868 seconds