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

Link in gdl script

Vladislav V
Booster

Hello) Maybe you know how I can automatically insert a value into a script parameter from an Excel or txt file. For example, I have an area parameter in the script, and I need this value to be taken automatically from an Excel or txt file.

Is there any command in the script to do this?

I will be grateful for the answer).

5 REPLIES 5

runxel
Ace

You can use the GDL Text Add-on to read in arbitrary data.

But bear in mind that the type of the variable will be auto casted. So if it looks like a number it will be treated as one. This might lead to problems with e.g. room lists.

 

AC 24 [ger] | Win 10 | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

Thank you!

This is a GDL TEXT I/O extension need to download?

Have you read the link?

In short: No. It's named "Add-on" since you could actually write you own extensions in C++ which would be callable from GDL. But this is one of the default OOTB ones (:

AC 24 [ger] | Win 10 | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»

Sorry for the inattention.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!