Centrado / z-blockly-tracker

0 stars 0 forks source link

### Block - Mathematical function #276

Open Maharajacentrado opened 1 year ago

Maharajacentrado commented 1 year ago

Block - Mathematical function

image

image

C++

void setup()
{

}

void loop()
{
/*Code*/
sqrt(0);

/* Mathematical function options 
  1. abs(0) //absolute
  2. - 0;  //  - 
  3. log(0); //In 
  4. log(0) / log(10); //log10
  5. exp(0); //e^
  6. pow(10, 0); //10^
*/
}

Originally posted by @KumaranUI in https://github.com/kreativhut/z-blockly-tracker/discussions/52#discussioncomment-2760026

Maharajacentrado commented 1 year ago

Native code is not generating properly for above blocks... (i) semicolons are in seconds lines (ii) when I merge it with the other blocks 2 semicolons are appearing. (inside the brackets semicolons should not appear if I merge these blocks with other)