Hi folks
I have recently upgraded my project to VP10.
I am getting an error in the default generated code from the ‘main’ class.
If ErrorMessage = isSome(CP:parse()) then
It complains with error c279.
Any ideas what I should do about this?
-
- Active Member
- Posts: 35
- Joined: 5 Sep 2019 19:30
Re: Vis Prolog 10: problem with isSome
The new version is using some "syntactic sugaring".
You can change your code to:
Cheers,
choibakk
You can change your code to:
Code: Select all
if ErrorMessage = CP:parse():isSome() then
choibakk
-
- Posts: 19
- Joined: 9 Aug 2020 15:30
Re: Vis Prolog 10: problem with isSome
Thanks for your help