SUPPORTED USER

hershbp at verizon.net hershbp at verizon.net
Thu Jun 17 14:27:00 EDT 2004


Hi ,
What is the point of an varArray[] or how do they work that a var won't 
do ? If I need more then 1 var use 2 var's or more wouldn't do it ? Or
set itemDelimiter to tab
get item 1 of line 1
of  myVar if I need to explicitly create the array's and put every 
thing separately ? Also the array's are like horizontal rows ,what's 
doing with rows (or a 2 dimension array) ?

If I use a varArray [] in a repeat e.g.
repeat for each line myL in varArray[]
      --could I take info from which array I want do the lines work 
together ?
      if "A" then put line myL of varArray[1] else put line myL of 
varArray[2]
end repeat--will it return item 2 of line 1 , if myL is the first line?

And by the way is it possible to split a SQL or a "put" into 2 var's ? 
meaning,
put revDataFromQuery(,,db,"SELECET (a,b) FROM table_c") into 
myVar1,myVar2 ? or somthing like this ?
I know I could do put a,b,c,d into myVar , is it possible the other way 
around
put "a" into a,b,c or something like it
instead of
put a into b
put c into d
and so on?

In a function like this "revdb_execute(myDatabaseID,field "Query","*b" 
& "myvar")" , the 2nd param. is the "SQL statement, what is the 3rd or 
so param. ?

Thanks a mill.



More information about the use-livecode mailing list