Hello,
I'm using Flora-2 2.0 on a Manjaro Linux box. I want to build a program using the \date datatype.
- Following the user manaual, In the shell I successfully run:
"2019-01-19"^^\date[day -> ?a]@\basetype which gives me the expected: ?a = 19
However in a prgram I have this class object:
Day[ name => \string,
week => \integer,
date => \date,
status => \string ].
With the below data:
002:Day[name -> sun,
week -> 01,
date -> "2019-01-20",
status -> F].
001:Day[name -> sat,
week -> 01,
date -> "2019-01-19",
status -> F].
When loading the file, I get this error:
" <Compiler> near line(58)/char(10) `"2019-01-19"' this syntax is permitted in expert mode only"
And then, when I fail to to get the day with something like:
001:Day[date -> ?_y], ?_y^^\date[day -> ?a]@\basetype.
What am I missing?
Thanks for any tips.