Strange thing

14 views
Skip to first unread message

Mansour Ayouni

unread,
Jul 12, 2024, 8:27:26 PM (10 days ago) Jul 12
to The Ring Programming Language
Hello Mahmoud,
Try to write this :

? : anything

and you get the string anything as an output...

Is that normal?

Best,
Mansour

Mahmoud Fayed

unread,
Jul 12, 2024, 8:53:03 PM (10 days ago) Jul 12
to The Ring Programming Language
Hello Mansour

Yes, because (:) is an operator
And using spaces after operators is possible

The restriction with respect to (:) is that we don't allow using it at the end of a line

So we can type
: anything

But we can't type
? : 
anything

Greetings,
Mahmoud

Mansour Ayouni

unread,
Jul 12, 2024, 8:57:05 PM (10 days ago) Jul 12
to msfcl...@gmail.com, ring...@googlegroups.com

Hello Mahmoud,

It's clear. Thank you

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/fd678d44-4003-4929-aed9-e61ef55d576cn%40googlegroups.com.

Mahmoud Fayed

unread,
Jul 12, 2024, 9:44:48 PM (9 days ago) Jul 12
to The Ring Programming Language
Hello Mansour

You are welcome :D

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages