[SOLVED]Is it possible to concatenate strings to select a value from a combo or vector ? [message #1716398] |
Thu, 03 December 2015 13:44 |
|
Hi Folks,
I have the following line that return a number in random way
invoke-static -pluginId org.eclipse.core.runtime -className java.util.concurrent.ThreadLocalRandom -methodName current | invoke nextInt 10]
I'd like to use the results to select data so I need to change the strings
"values[value from the code line]".
I think to solve it using procedures and global variables anyway I's like to know is exist a quick method.
Thank you guys in advance.
"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
[Updated on: Thu, 03 December 2015 14:02] Report message to a moderator
|
|
|
Re: Is it possible to concatenate strings ? [message #1716403 is a reply to message #1716398] |
Thu, 03 December 2015 14:00 |
|
Solved I use a concat method
show-alert[get-view "External Identification Codes" | get-table | get-combo|get-property [ concat [concat "values[" [invoke-static -pluginId org.eclipse.core.runtime -className java.util.concurrent.ThreadLocalRandom -methodName current | invoke nextInt 10]]"]" ] -raw ]
"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
|
|
|
Powered by
FUDForum. Page generated in 0.02220 seconds