-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Access different paths within a for loop
- This topic has 2 replies, 2 voices, and was last updated 16 years, 11 months ago by Heiko Gross.
-
AuthorPosts
-
January 4, 2008 at 7:02 pm #12490Heiko GrossParticipant
I would like to access different folders/paths within a for loop in order to extract in signals in these folders single values . It is necessary to change two characters in the path as posted in the example below.
..\0%\K1\GK-Darstellung\Aufreißen\fric_coeff_odd_0%
I would like to access in the for loop the 0%, 10%, 20%, …
Thanks for the helpJanuary 4, 2008 at 7:02 pm #8156Heiko GrossParticipantI would like to access different folders/paths within a for loop in order to extract in signals in these folders single values . It is necessary to change two characters in the path as posted in the example below.
..\0%\K1\GK-Darstellung\Aufreißen\fric_coeff_odd_0%
I would like to access in the for loop the 0%, 10%, 20%, …
Thanks for the helpJanuary 5, 2008 at 3:00 am #8786Bernhard KantzParticipantFor this purpose you can use the Indirection Operator $$ in FPScript.
This operator serves to access data sets and variables by using their names.Example:
Dim names, max, globalmax names = .Parent.Objects("Data.*").Names For Each Row i In names Do max = Maximum($names$) If DataType(globalmax) == TYPE_EMPTY Or max > globalmax then globalmax = max End End
See also
FlexPro Help
Analyzing Data|Reference|FPScript Operators|Data Access|Indirection -
AuthorPosts
- You must be logged in to reply to this topic.