Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Function parameter(Function parameter)
Function parameter [message #1803468] Fri, 01 March 2019 09:21 Go to next message
le tian is currently offline le tianFriend
Messages: 16
Registered: October 2018
Junior Member
I want to take an array as a parameter of a function. How do I implement it?
Re: Function parameter [message #1803472 is a reply to message #1803468] Fri, 01 March 2019 09:59 Go to previous message
Jeno Attila Balasko is currently offline Jeno Attila BalaskoFriend
Messages: 80
Registered: September 2013
Location: Budapest, Hungary

type integer MyArrayType1[3];
function f_my( inout MyArrayType1 pl_mat) {
 log( pl_mat)

control {
   var MyArrayType1 vl_myArray := {1,2,3}
   f_my(vl_myArray );
Previous Topic:Translation ports vs dual-faced ports part2
Next Topic:Free memory is running low
Goto Forum:

Current Time: Tue Jun 22 23:44:02 GMT 2021

Powered by FUDForum. Page generated in 0.02715 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top