as written in the \"dyn\"

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
Arbudu
Posts:13
Joined: Thu Sep 25, 2014 10:46 am

as written in the \"dyn\"

Post by Arbudu »

Hi all, faced with the problem! How to write a value in dyn_float or dyn_int ???? produces an error.

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: as written in the \"dyn\"

Post by fmulder »

I'm not sure I understand your question.

If you want to write to a dyn_float you can simply do:

dyn_float df;

df[1] = 1.0;
df[2] = 2.1;

There are also functions to manipulate a dyn:

dynAppend( df, 2.0 );

Good luck

Frenk

Arbudu
Posts:13
Joined: Thu Sep 25, 2014 10:46 am

Re: as written in the \"dyn\"

Post by Arbudu »

I added the script to the text field to be able to record the values ??and make a binding text field to the DP. and when I began to write the value it generated an error

can not append to dyn Image

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: as written in the \"dyn\"

Post by leoknipp »

Hello,

if a log-message occurs during an operation it is useful to see the complete log-message.
When you want to modify the dyn_string saved as value at a dp-element you have to
-- read the value with a dpGet()
-- modify the dyn-array with one of the functions mentioned in a previous posting
-- save the value with a dpSet()

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1