Testing SoftanzaLib using Ring 1.21

28 views
Skip to first unread message

Mahmoud Fayed

unread,
Jul 2, 2024, 1:52:18 PMJul 2
to The Ring Programming Language
Hello Mansour

Today I tried to test SoftanzaLib using Ring 1.21

It reported the next syntax errors 
One of these errors because (ForEach) is a keyword in Ring 1.21 and can't be used as a function name
Another error because of Argument redefinition

stzGlobal.ring Line (483) Error (C6) : Error in function name

stzString.ring Line (13365) Error (C30) : Argument redefinition, argument is already defined!

stzString.ring Line (26502) Error (C30) : Argument redefinition, argument is already defined!

stzString.ring Line (26505) Error (C30) : Argument redefinition, argument is already defined!

stzString.ring Line (26522) Error (C30) : Argument redefinition, argument is already defined!

stzString.ring Line (26525) Error (C30) : Argument redefinition, argument is already defined!

stzString.ring Line (26589) Error (C30) : Argument redefinition, argument is already defined!

stzString.ring Line (26592) Error (C30) : Argument redefinition, argument is already defined!

stzString.ring Line (26609) Error (C30) : Argument redefinition, argument is already defined!

stzString.ring Line (26612) Error (C30) : Argument redefinition, argument is already defined!

stzList.ring Line (48749) Error (C30) : Argument redefinition, argument is already defined!

stzTable.ring Line (6177) Error (C30) : Argument redefinition, argument is already defined!

stzTable.ring Line (9398) Error (C30) : Argument redefinition, argument is already defined!

Greetings,
Mahmoud

Mansour Ayouni

unread,
Jul 2, 2024, 5:17:54 PMJul 2
to Mahmoud Fayed, The Ring Programming Language
Hello Mahmoud,

Thank you for the report! I just corrected the duplicated function params.
So it's a new check made available in Ring 1.21?

I also renamed the Softanza ForEach() function by @ForEach() to avoid conflict with the official one provided by ring.

All the 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/534757fc-9b54-4239-beed-00fb8279b370n%40googlegroups.com.

Mahmoud Fayed

unread,
Jul 2, 2024, 5:58:18 PMJul 2
to The Ring Programming Language
Hello Mansour

Thanks for the update

Just another little error
stzTable.ring Line (9398) Error (C30) : Argument redefinition, argument is already defined!

Greetings,
Mahmoud

Mansour Ayouni

unread,
Jul 2, 2024, 6:05:54 PMJul 2
to Mahmoud Fayed, The Ring Programming Language
Done!
Thanks again.
Mansour

Mahmoud Fayed

unread,
Jul 2, 2024, 6:15:50 PMJul 2
to The Ring Programming Language
Hello Mansour

You are welcome :D

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages