<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
Le 05/06/2016 09:31, Rishubh Jain a écrit :<br>
</div>
<blockquote
cite="mid:1569896308.3847186.1465111866636.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, Sans-Serif;font-size:16px">
<div id="yui_3_16_0_ym19_1_1465107666667_3467"><span>Hello,</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3433"><span><br>
</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296"><span
id="yui_3_16_0_ym19_1_1465107666667_3295">Thank You for your
inputs.</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><span
id="yui_3_16_0_ym19_1_1465107666667_4028">1) I have updated
my code and now I accept both types of input.</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><span
id="yui_3_16_0_ym19_1_1465107666667_3670"> </span><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_3671">ut.tooltipstring =
["a","","c","d"]</span><span><br>
</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;">
and <br>
</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_3732"> </span><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_3733">ut.tooltipstring =
"[a,b,c,d]"</span><span style="font-family: 'Helvetica
Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande',
sans-serif; font-size: 13px;"><br>
</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_4462"> <br>
</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_4046"> The first one
if the user want to input variables(string type) and also as
Samuel suggested one can input only few non-empty strings
TT=emptystr(.string); TT([pos1 pos2 pos3..]) = ["tt1 "tt2"
"tt3"...];<br>
</span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_4548"> The second one
if the user wants to just input strings(no variables) but
dont want to input so many "" (This is my opinion)<br>
</span></div>
</div>
</blockquote>
.<br>
I am afraid i don't understand your point at all.<br>
If you use<span style="font-family: 'Helvetica Neue', 'Segoe UI',
Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_3671"><br>
ut.tooltipstring = ["a","","c","d"]</span><span> // to input </span><span><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_4046">variables(string type)
(i guess named "a", "c", "d"),<br>
then how will it be possible to input the literal strings </span></span><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif; font-size: 13px;"
id="yui_3_16_0_ym19_1_1465107666667_3671">["a","","c","d"] ?<br>
Moreover, if i want to set just one component tooltipstring(2,4) =
"[a,b,c,d]" with "</span><span style="font-family: 'Helvetica
Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;
font-size: 13px;" id="yui_3_16_0_ym19_1_1465107666667_3671">[a,b,c,d]"
being a single literal string, how should i do?<br>
IMO, interpreting symbols as variables should really be abandoned.
BTW, what would be the interest wrt to = [a,b,c,d], a, b,c,d being
some variables containing a single string?<br>
</span><span><br>
</span>
<blockquote
cite="mid:1569896308.3847186.1465111866636.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, Sans-Serif;font-size:16px">
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><br>
</div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><font
id="yui_3_16_0_ym19_1_1465107666667_4567" size="3"
face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida
Grande, sans-serif"><span
id="yui_3_16_0_ym19_1_1465107666667_4566">2) Q: </span></font><span
style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica,
Arial, 'Lucida Grande', sans-serif;"
id="yui_3_16_0_ym19_1_1465107666667_4671"><font
id="yui_3_16_0_ym19_1_1465107666667_4730" size="3">Could
you confirm that your implementation for the case 2)
updates .tooltipstring when .string is modified?</font></span></div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"> A:
Yes, it does :)</div>
</div>
</blockquote>
Great.<br>
<blockquote
cite="mid:1569896308.3847186.1465111866636.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, Sans-Serif;font-size:16px">
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr"><br>
</div>
<div id="yui_3_16_0_ym19_1_1465107666667_3296" dir="ltr">3) If
possible I wanted to know what exactly the flag I should use,
I want to use a flag instead of passing the whole data because
of the reason I described. So if you think its better to use
flag then I would like to know which flag I should use.</div>
</div>
</blockquote>
.<br>
A flag is needed mainly because this is the only way to tell/trigger
that the automatic mapping .string => .tooltipstring must occur.<br>
The literal single string "values" looks convenient to me. We will
never build a table with only one cell. It is meaningless. So there
won't be any ambiguity.<br>
<br>
Thanks<br>
<br>
Samuel<br>
<br>
</body>
</html>