Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ring check if a Ring function is defined or not

see isfunction("f1") + nl +
    isfunction("f2") + nl +
    isfunction("f3") + nl

func f1
        see "message from f1()" + nl

func f2
        see "message from f2()" + nl
Source by ring-lang.github.io #
 
PREVIOUS NEXT
Tagged: #ring #check #Ring #function #defined
ADD COMMENT
Topic
Name
8+5 =