Integer to String in upload mode


#1

Hi,

This issue is driving me nuts. I’ve created a custom block with two params. Fisrt one is a String and the second one a Integer. Let’s name it: my_block(a as String, b as Integer)

The block only multiplies b by 2 (b*2)

If I run the program this program:

my_block(‘name’,2)

I got two different outputs based on upload mode:

  1. If upload mode is disabled I got: 22 (wrong)
  2. If I disable the upload mode (wired) I got: 2 (right)

What is going on?

Thanks!!!


#2

More information

My problem is that I’ve a string with chars and numbers like “a1a1a1” If I extract second char (2) is a…

String in upload mode
Integer in disabled upload mode

Thanks!


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.