Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

programming language functionality 3

Status
Not open for further replies.

bazilvan

Industrial
Joined
Feb 17, 2007
Messages
1
Location
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.
 
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.
 
Use PERL. It is very good at handling lists of items as arguments to functions. It runs on Linux and Windows just fine. There is a free download at and elsewhere.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top