Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variables in a function
#2
Macro Macro1780
Code:
Copy      Help
str s1 s2 s3 s4 s5 ;;must be local variables, like here; then they are allocated as array

str* p=&s1; int i
for i 0 5
,p[i].from("var" i)

for i 0 5
,out p[i]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)