Announcement

Collapse
No announcement yet.

Strings are lost after change form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Strings are lost after change form

    Hi,

    (genieArduino) strings are lost after change form

    e.g. form "0" contains string "0"
    genieWriteObject(GENIE_OBJ_FORM, 0, 0);
    genieWriteStr(0, "test");
    now string "0" contains "test"

    genieWriteObject(GENIE_OBJ_FORM, 1, 0);
    genieWriteObject(GENIE_OBJ_FORM, 0, 0);
    now is string "0" empty

    am i doing something wrong?

  • #2


    No, that is expected.

    Dynamic strings are lost across form changes.

    Static strings (those strings you define in workshop and change by sending an index number) are not.
    Mark

    Comment


    • #3


      so need remember dynamic strings in arduino
      it's not very perfect, but i can live with this ;-)

      thanks for answer

      Comment

      Working...
      X