-
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
Variable in signal path
- This topic has 1 reply, 2 voices, and was last updated 7 years, 4 months ago by Bernhard Kantz.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
July 27, 2017 at 4:36 pm #16207HerveM1234Participant
Hi,
I would like to use a variable instead of the path name when calling a function.
ie :
Result = MyFunction(‘FolderA\Signal1’)
works fine
but
Dim Fld = “FolderA\”
Result = MyFunction(Fld :: Signal1)
doesn’t work –> syntax problem
Thanks for Help
July 28, 2017 at 9:54 am #16209Bernhard KantzParticipantYou can use the indirection operator $string-expression$ to access an FlexPro object from its (path) name given as a string:
Dim Fld = "FolderA\\" $Fld : "Signal1"$
accesses the object ‘Signal1’ in ‘FolderA’ relative to the path of the formula containing the expression. Note the double backslash, it is necessary because the \ acts as escape character.
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.