Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Couldn't resolve reference to Variable

$
0
0

Dear all,

 

We upgraded our Design Studio to 1.4 and since then we get the following error in our scripts:

 

ResolveReference.png

 

I have the following code:

 

if (...) {

     ...

     var not_due = ...

     ...

}

else {

     ...

     not_due = ...

     ...

}

 

It is the not_due variable in the else statement that is not recognized anymore.  I cannot create a new variable not_due because then I get the error that variable not_due already exists.  And I do not want to create a new variable.

 

It is like I have to define the variable before the IF statement but how can I make it clear to the system that not_due should be a float?  The only variable I can create is a string or a number (int).

 

Kind regards,

 

Lieselot


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>