Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
Grovkillen
- Automation Wizard
- Posts: 1132
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
-
Contact:
Post
by Grovkillen » Thu Jan 03, 2019 8:01 am
Code: Select all
Let>TEMP=RELEASE_NIGHTLY_P%k%
JSONParse>RELEASE_JSON,$[*]['prerelease'],%TEMP%
This will result in a array named
%TEMP%.
I was hoping I could assign the array name as suggested in the code above.
-
Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
-
Contact:
Post
by Marcus Tettmar » Thu Jan 03, 2019 2:21 pm
I can't quite follow what you want to do here. None of the Macro Scheduler functions work like that. If you want the results in a different array/variable name then just assign it afterwards.
-
Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
-
Contact:
Post
by Marcus Tettmar » Thu Jan 03, 2019 2:27 pm
How about rename the array afterwards:
Code: Select all
JSONParse>RELEASE_JSON,$[*]['prerelease'],ResultArray
ArrayRename>ResultArray,,RELEASE_NIGHTLY_P%k%
-
Grovkillen
- Automation Wizard
- Posts: 1132
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
-
Contact:
Post
by Grovkillen » Thu Jan 03, 2019 3:07 pm
Marcus Tettmar wrote: ↑Thu Jan 03, 2019 2:27 pm
How about rename the array afterwards:
Code: Select all
JSONParse>RELEASE_JSON,$[*]['prerelease'],ResultArray
ArrayRename>ResultArray,,RELEASE_NIGHTLY_P%k%
Thanks for that one!
