-
FlexPro
- Zoom sur FlexPro
- Fonctionnalités & Options
- Domaines d’application
- Tous les avantages
- Nouveau dans FlexPro 2021
- Testez FlexPro gratuitement
- FlexPro View OEM Freeware
- Conseils d’achat
- Login
- Langue
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produits
- News
- Support
- Société
- Emplois
- Contact
- Login
- Langue
- +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, 10 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.