Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

programming language functionality 3

Status
Not open for further replies.

bazilvan

Industrial
Feb 17, 2007
1
0
0
US
Is there an open source programming language which allows one to name calculated fields using a function name with multiple function arguments, in which each argument is an index of sequences. The language needs to be independent of operating system and database.

For example, in the following calculated fields
V(a,e,ti) = Q(a,e,t) * P(a,e,i)

Function names are V, Q and P, while function arguments a,e,t,i are indices for sequences.


I shall be thankful for advice anyone can offer.
 
Replies continue below

Recommended for you

Try C++. It is one of the few where functions can occur on the right of the assignment statement as long as the type returned is a reference.
 
You should take a look at Python (
Pros:
-free
-open source
-multi platform (Win, Linux etc.)
-there are tons of free scientifical, engineering, plotting (and pretty much everything tools) developed for it. You can find a nice package for Win here: For large list of available packages and modules see for example: -it is object-oriented
-it has packages for multi-platform GUI, if of interest.

Cons:
- it is interpreted. However, you can extend it through C/C++. It can compile the source files so it is not necessary to distribute the sources.
 
Status
Not open for further replies.
Back
Top