Hello Ilir,
Softanza enables Ring code to host useful coding constructs available in other languages.
Multiple variables saignement, you illustrated above, is one of them.
So, you just decoratevit with the small vr() and vl() function like this:
Vr([ :year, :month, :day ]) '=' vl( Split($date, "-" ) )
When you need one of them you call it with the small v() function like this:
? V(:year) + " " + v(:month) + " " + v(:year)
The feature has been made to facilitée the porting of existing python (and other languages) solutions to Ring, so one can adopt them quickly.
PS: sorry of the spelling lisrakes since I am using my phone without glasses (before Softanza I had not needed glasses ;) ).
Best
Mansour
--
---
You received this message because you are subscribed to the Google Groups "The Ring Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ring-lang+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/bac39071-56ab-4e44-a960-608a62bd0b1bn%40googlegroups.com.
This can be interpreted as...
... nice implementation !
To view this discussion on the web visit https://groups.google.com/d/msgid/ring-lang/ff8a963e-3e91-4645-a912-84070b2d85cen%40googlegroups.com.
? 🕶( o1.FindTheseBoundsAsSections("<<<", ">>>") )
? 😎( o1.FindTheseBoundsAsSections("<<<", ">>>") )