-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Access different paths within a for loop
- Dieses Thema hat 2 Antworten und 2 Teilnehmer, und wurde zuletzt aktualisiert vor 15 Jahre, 2 Monaten von
Heiko Gross.
-
AutorBeiträge
-
Januar 4, 2008 um 7:02 pm Uhr #12490
Heiko Gross
TeilnehmerI 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 helpJanuar 4, 2008 um 7:02 pm Uhr #8156Heiko Gross
TeilnehmerI 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 helpJanuar 5, 2008 um 3:00 am Uhr #8786Bernhard Kantz
TeilnehmerFor 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 -
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.