cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Collaborate forum

Return "value" of generated parameter

Anonymous
Not applicable
Is it possible to read the value of a generated data created from a GDL expression.

For example I´m creating a simple object with the value (parameter) A and B
In the GDL-script i have the parameter C with i s scripted to be C="A"+"B" (just text)
When making a schedule with the parameter C as one of the fields it returns no value - which in one way seems logical since I haven't given any value to the parameter C. But is there a workaround to have the value "A"+"B" show up in the schedule?
1 ACCEPTED SOLUTION
2 REPLIES 2

Solution
Barry Kelly
Moderator
You have set the value of your variable "C" in your GDL script.
But you have not set the value of the parameter (if that makes sense).

In you GDL parameter script (or it could be the master script) you should have ...
C = "A" + "B"
PARAMETERS C = C
C needs to be a text parameter of course.
The result for C will be "AB".

Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Anonymous
Not applicable
Thank´s Barry!

It´s all in the details.

You can't imagine all the work this will save me!

/Fredrik

Start a new conversation!

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!