Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
String variables in array possible?
#2
Variable names in string - not possible.

Try this:
Macro Macro1271
Code:
Copy      Help
str c="created"
str a="accessed"
str m="modified"


ARRAY(str*) arr_dates
arr_dates.create(3)
arr_dates[0]=&c
arr_dates[1]=&a
arr_dates[2]=&m


str string_dates
string_dates=F"{*arr_dates[0]};{*arr_dates[1]};{*arr_dates[2]}"
out string_dates


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)