Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved]Does function exists?
#7
Ok, i got it.

So, be function A, accepting either str or array as parameters, each optional

function [str&STR] [ARRAY(str)&ARR]

it test is STR or a line of ARR is empty

1) How to share the same code with different types of parameters

if (@ [ARRAY(str)&ARR]) or ( [str&STR] @)

Coll = ARR or STR

foreach item Coll

2)Any cast conversion?

str(ARR[i]) as
int i=3
str s=str(i)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)