3

I have the next function : func2(text a, text b)

I have another function func1. In func1 I summon func2 : PERFORM func2('aa',b). b is a text variable that I initialize.

I get the next error : function func2(unkown,text) does not exist.

any help ? Is there a way to convery string to text ?

1 Answer 1

3

You can explicitly cast your String to Text by calling the function with

 func2('aa' :: TEXT,b)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.