selection to array([table]field1;$Array1;\ [table]field2;$Array2;\ [table]field3;$Array3;\ [table]field4;$Array4)
you use the \ character -- but you need to be careful where you use it. you need to use it between 'operators'. after a math operation (+-/*), after a semicolon (is generally the easiest), you can not use the \ character before any of the above operators,, or command name $sum := $a + $b \ + $c + $d selection\ to array nor can you split a field reference, nor can you split a variable [table]\ field $my_var\ table > I know this is done, but I have never used it and cannot find the > answer myself: > > How can a line of code be separated into two, and still be > interpreted by 4D as one line? > > ex. (obviously not practical) > > $all:=$1 > +$2 > +$3 > > equivalent: ($all:=$1+$2+$3 > > > thanks, > Chris > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ------------ Hell is other people Jean-Paul Sartre ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************