<html><head></head><body><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_1465132463412_3105"><span>Hi,</span></div><div id="yui_3_16_0_ym19_1_1465132463412_3065"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103">I am sorry I didn't explain properly, I will elaborate from the scratch.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103">For now I have made 2 features available through which one can input tooltip String.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103">Case 1: table_variable.tooltipstring=["a","b","c","d"]; </div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" id="yui_3_16_0_ym19_1_1465132463412_6454"><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> //Here a,b,c,d are string literals.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> </div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> table_variable.tooltipstring=[a,b,c,d];</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> //Here a,b,c,d are variables where a,b,c,d can be single string literal so</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> </div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> a="tooltip1";b="tooltip2";c="tooltip3";d="tooltip4";</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> table_variable.tooltipstring=[a,b,c,d];</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> The format of output will be:<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> <br></div><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;" id="yui_3_16_0_ym19_1_1465132463412_7646"> !tooltip1 tooltip2 tooltip3 tolltip4 !</span><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> </div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> //suppose table_variable.tooltipstring=["a","b","c","d";"a","b","c","d"]; I want to assign "[a,b,c,d]" to 2nd row and 3rd element.</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> table_variable.tooltipstring(2,3)="[a,b,c,d]";</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> The format of output:</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_3103"> <span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;" id="yui_3_16_0_ym19_1_1465132463412_5749">!a b c d !</span></div><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;" id="yui_3_16_0_ym19_1_1465132463412_5750"> ! !</span><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;" id="yui_3_16_0_ym19_1_1465132463412_5753"> !a b [a,b,c,d] d !</span></div></blockquote><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;" id="yui_3_16_0_ym19_1_1465132463412_6105"> <br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;" id="yui_3_16_0_ym19_1_1465132463412_8100"> </span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif;" id="yui_3_16_0_ym19_1_1465132463412_8151"><font size="3" id="yui_3_16_0_ym19_1_1465132463412_8150">One can also input tooltips in the given fashion below;</font></span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif;"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;" id="yui_3_16_0_ym19_1_1465132463412_8027"> </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_1465132463412_8028">TT=emptystr(.string); </span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><span style="font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;" id="yui_3_16_0_ym19_1_1465132463412_8042"> TT([pos1 pos2 pos3..]) = ["tt1 "tt2" "tt3"...];</span><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"><br></span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif;" id="yui_3_16_0_ym19_1_1465132463412_5898"><font size="3" id="yui_3_16_0_ym19_1_1465132463412_5967">Case 2: </font></span>table_variable.tooltipstring="[a,b,c,d]";</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> 1-> How this will be used?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> This will be useful when all the elements passed in the tooltipString are strings and not variables.<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> table_variable.tooltipstring="[a,b,c,d]"; <-> table_variable.tooltipstring=["a","b","c","d"]; </div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> //so a,b,c,d are characters and not variables<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> </div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> 2-> When this will be used?</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> This is useful for a particular case i.e when the elements to be passed are string literals and <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> not variables AND when the string is large so user wont have to enter the double quotes("") so many times,for example;<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> table_variable.tooltipstring=["a","b","c","d","e","f","g","h","i","k"]; etc...now in this case table_variable.tooltipstring="[a,b,c,d,e,f,g,h,i,k]"; will be easier then the number of elements(n) increases significantly.<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> This is not very useful but it was something I thought so I incorporated.<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754">I hope this may solve the confusion,</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754">Thanking You</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754">Rishubh</div><div dir="ltr" id="yui_3_16_0_ym19_1_1465132463412_5754"> <br></div><div id="yui_3_16_0_ym19_1_1465132463412_3104"><span><br></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Sunday, 5 June 2016 1:32 PM, Samuel Gougeon <sgougeon@free.fr> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div id="yiv8963827861"><div>
<div class="yiv8963827861moz-cite-prefix">Hello,<br clear="none">
<br clear="none">
Le 05/06/2016 09:31, Rishubh Jain a écrit :<br clear="none">
</div>
<blockquote 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="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3467"><span>Hello,</span></div>
<div id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3433"><span><br clear="none">
</span></div>
<div id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3295">Thank You for your
inputs.</span></div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_4028">1) I have updated
my code and now I accept both types of input.</span></div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3670"> </span><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3671" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">ut.tooltipstring =
["a","","c","d"]</span><span><br clear="none">
</span></div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><span style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">
and <br clear="none">
</span></div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3732" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"> </span><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3733" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">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 clear="none">
</span></div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_4462" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"> <br clear="none">
</span></div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_4046" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"> 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 clear="none">
</span></div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_4548" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"> 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 clear="none">
</span></div>
</div>
</blockquote>
.<br clear="none">
I am afraid i don't understand your point at all.<br clear="none">
If you use<span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3671" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;"><br clear="none">
ut.tooltipstring = ["a","","c","d"]</span><span> // to input </span><span><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_4046" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">variables(string type)
(i guess named "a", "c", "d"),<br clear="none">
then how will it be possible to input the literal strings </span></span><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3671" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">["a","","c","d"] ?<br clear="none">
Moreover, if i want to set just one component tooltipstring(2,4) =
"[a,b,c,d]" with "</span><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3671" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:13px;">[a,b,c,d]"
being a single literal string, how should i do?<br clear="none">
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 clear="none">
</span><span><br clear="none">
</span>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;">
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><br clear="none">
</div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><font id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_4567" size="3" face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif"><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_4566">2) Q: </span></font><span id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_4671" style="font-family:'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif;"><font id="yiv8963827861yui_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 dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"> A:
Yes, it does :)</div>
</div>
</blockquote>
Great.<br clear="none">
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:16px;">
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296"><br clear="none">
</div>
<div dir="ltr" id="yiv8963827861yui_3_16_0_ym19_1_1465107666667_3296">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 clear="none">
A flag is needed mainly because this is the only way to tell/trigger
that the automatic mapping .string => .tooltipstring must occur.<br clear="none">
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.<div class="yiv8963827861yqt3230484983" id="yiv8963827861yqtfd75654"><br clear="none">
<br clear="none">
Thanks<br clear="none">
<br clear="none">
Samuel<br clear="none">
<br clear="none">
</div></div></div><br><div class="yqt3230484983" id="yqtfd57892">_______________________________________________<br clear="none">dev mailing list<br clear="none"><a shape="rect" ymailto="mailto:dev@lists.scilab.org" href="mailto:dev@lists.scilab.org">dev@lists.scilab.org</a><br clear="none"><a shape="rect" href="http://lists.scilab.org/mailman/listinfo/dev" target="_blank">http://lists.scilab.org/mailman/listinfo/dev</a><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>