-
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
calculation with a dataset which don’t exist
- This topic has 2 replies, 2 voices, and was last updated 14 years, 3 months ago by Anonymous.
-
AuthorPosts
-
September 23, 2010 at 2:35 am #12458AnonymousGuest
Hello,
I would like to make a fpscript formula with the following behaviour :
– if a dataset called “A” (for instance a dataseries of 10 values) exists in the rootfolder, then return the product 2 x A
– else, return the value 0
At the moment my fpscript formulas return errors if they try to make calculations with dataset wich don’t exist.
Is it necessary to use exceptions ?
Thanks in advance
September 23, 2010 at 2:35 am #8135AnonymousGuestHello,
I would like to make a fpscript formula with the following behaviour :
– if a dataset called “A” (for instance a dataseries of 10 values) exists in the rootfolder, then return the product 2 x A
– else, return the value 0
At the moment my fpscript formulas return errors if they try to make calculations with dataset wich don’t exist.
Is it necessary to use exceptions ?
Thanks in advance
September 23, 2010 at 3:14 am #8754Bernhard KantzParticipantThere is a FPScript Try … Catch statement. But you cannot use it in this case.
Create a dummy FPScript formula ‘A’ which returns 0. -
AuthorPosts
- You must be logged in to reply to this topic.