Question: Based on your understanding of what this function does generically, assume that you are going to include this function in a project to be used

Based on your understanding of what this function does generically, assume that you are going to include this function in a project to be used globally. What are some of the problems or limitations that you would see for using this function?
function foo2
parameter p1,p2
m.xcReturn =
for m.nCt =1 to 3
m.nPos =val( substr(p2,m.nCt,1))
do case
case m*n Pos =1
m*xc Return =m*xc Return +m*xc1+?'
case m.nPos =2
m*xc Return =m*xc Retum +m*xc2+?'*
case m.nPos =3
m*x Return =m*x Return +m*xc3+?''
endcase
endfor
return m.xcReturn
Based on your understanding of what this function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To assess the function foo2 based on its structure and logic lets identify potential problems or limitations when using it globally 1 Input Validation ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!