NV5 GEOSPATIAL SOFTWARE
Products
ENVI
ENVI Connect
ENVI Discover
ENVI Inform
ENVI Edge
ENVI Deep Learning
ENVI SAR
Helios
IDL
Solutions
ENVI Ecosystem
Defense & Intelligence
SAR Solutions
Custom Solutions
Academic
Industries
Climate Science
Disaster Management
Fed/Civil
Precision Agriculture
Transportation
Utilities
Learn
Case Studies
Videos
Blogs
Brochures
Whitepapers
Learning Tools
ENVI Quick Guides
ENVI Pocket Guides
E-Learning Program
Tutorials
Support
Self Help Tools
Documentation Center
Help Articles
Tutorials
Forums
Company
About NV5 Geospatial
Careers
News
Events
Contact Us
|
X
Products
ENVI
ENVI Connect
ENVI Discover
ENVI Inform
ENVI Edge
ENVI Deep Learning
ENVI SAR
Helios
IDL
Solutions
ENVI Ecosystem
Defense & Intelligence
SAR Solutions
Custom Solutions
Academic
Industries
Climate Science
Disaster Management
Fed/Civil
Precision Agriculture
Transportation
Utilities
Learn
Case Studies
Videos
Blogs
Brochures
Whitepapers
Learning Tools
ENVI Quick Guides
ENVI Pocket Guides
E-Learning Program
Tutorials
Support
Self Help Tools
Documentation Center
Help Articles
Tutorials
Forums
Company
About NV5 Geospatial
Careers
News
Events
Contact Us
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Prev
Go to previous topic
Next
Go to next topic
Last Post 25 Jun 2008 02:34 PM by
anon
How to create a variable with its name passed by at runtime without using execute()?
2 Replies
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
anon
New Member
Posts:
25 Jun 2008 02:34 PM
I know execute() can create variables with their names passed by at run time. For example, com = 'variable1' + " = '" + '55' + "'" & tmp = Execute(com) will create a varialbe 'variable1' with value equals to 55. Since Execute() is not supported in IDL Virtual Machine, is there any way to do it without using Execute()?
MariM
Veteran Member
Posts:2396
25 Jun 2008 02:34 PM
It is mentioned in the IDL help for execute that the routines 'CALL_FUNCTION, CALL_METHOD, and CALL_PROCEDURE' do not share this limitation and in many cases, can be used to replace calls to EXECUTE for VM distributions.
MariM
Veteran Member
Posts:2396
25 Jun 2008 02:34 PM
I do not think this is possible without using EXECUTE. However, in my experience it is almost always possible to do what you want to do without having to create a variable name on the fly. Perhaps if you explained why you want to do this I could suggest an alternative solution.
You are not authorized to post a reply.
Forum Groups & Categories
--NV5 Geospatial Software
----Licensing & Installation
----General Questions
Products
--ENVI
----ENVI
----ENVI LiDAR
----ENVI SARscape
--IDL
--Enterprise
----ENVI Server
Forums
Products
IDL