make object! [ code: 200 type: 'syntax id: 'invalid arg1: "integer" arg2: "2m" arg3: none near: "(line 1) 2m" where: none ] 2 space m - is what I wanted. 2m - crashes. It crashes when I hit the tab button
[quote user="Jason"] make object! [ code: 200 type: 'syntax id: 'invalid arg1: "integer" arg2: "2m" arg3: none near: "(line 1) 2m" where: none ] 2 space m - is what I wanted. 2m - crashes. It crashes when I hit the tab button [/quote] Still needs fixing. I was demoing Synapse today and I crashed it with "6m"
That would completely change how the date dialect is processed .. it's like a miniature interpreter and you're asking me to change the syntax! You see, "2 m" is short for "2 months" and you wouldn't write "2months" normally .. the idea is to resemble english syntax rules as much as possible.
I was hoping for a quick, easy fix. Otherwise, I am sure I'll get used to it. Trapping the error will help. It *DID* tarnish my demo to the nurses. But I recovered quickly.
No quick fix .. the same dialect is also used for appointments. I suggest you don't show the nurses or anyone the shortcuts until they've learned the "correct" way. And then the spaces will come naturally to them when you show them the shortcuts[]