Thank you ReneMiner for referring to Ring language. i am still testing it.
we can use the classic "print" by loading first "stdlib.ring" this is like uses "console"
load "stdlib.ring"
print("hello worlds")
or we can use "?" without loading stdlib.ring
regrading the keywords : see,give,ok and so on we can use the function ChangeRingKeyword
such as
ChangeRingKeyword see throw
will use throw for output
and
ChangeRingKeyword ok EndOfConditional
will use EndOfConditional for end of condition
some international users are using their own Unicode words instead of the original names
the following example from
https://www.codeproject.com/Articles...mming-Language
ChangeRingKeyword see throw
ChangeRingKeyword ok EndOfConditional
for x = 1 to 10
for y = 1 to 10
throw "x=" + x + " y=" + y + nl
if x = 3 and y = 5
exit 2 # exit from 2 loops
EndOfConditional
next
next
but its first index is 1 (like thinbasic arrays)
Bookmarks