AnsweredAssumed Answered

How to convert an integer/string to a linctr datatype?

Question asked by afke on Apr 14, 2018
Latest reply on Apr 18, 2018 by Johannes Müller

Hello! I have a problem and I hope someone can help me.

I have a 2-dimensional array in Excel and I load it to Xpress IVE optimisation suite as integer values or as strings (code below uses integer). However in a separate file I write some functions and I need this data in the linctr datatype. Till so far, this does not work. Does anybody know how to do this?

 

X: array(1..9,1..4) of integer

 

!Transfer X(integer) to linctr

function Test():linctr

declarations

lTest:linctr

end-declarations

lTest:=linctr(X(1,1))

returned:=lTest

end-function

Outcomes