Let in Oxygene

Is is possible to have something equivalent to swifts let in Oxygene now or does that need additional compiler support ?

Thanks,
John

Oops I just need to add readonly after the declaration.

Would it be possible to have a new keyword ?

I believe “Let” is equivalent to “Const” keyword in Oxygene.

yeah, either const x := 5 or var x := 5; readonly; should work.