Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Problem zephir variable

Hi all My problem, when I compile zephir, then an error appeared, double cannot be assigned to array offset:

   int i;
   var v, x;
   let v=[],i =1,x=8.5;
   while i < 10{
     let v[i]= x*x*4.6;

How to set value array via value double? Thank all

edited Mar '14

If use

    let v[i]= x*x*7/2;

That is working