[Gambas-user] Line continuation

2013-12-10 Thread John Rose
Tobias, I liked your ideas of: Dim aExec As String[] Dim sRes As String aExec = ["cat", "/proc/meminfo"] ' Use aExec.Add() to add more arguments Exec aExec To sRes and (thread 'Stopping a CLI program): Print #hFfmpeg, "q" if you opened it For Output... Currently I have: Private hffmpeg as Process

Re: [Gambas-user] Line continuation

2013-12-08 Thread Tobias Boege
On Sat, 07 Dec 2013, MinnesotaJon wrote: > If you are using SHELL, you can assign lines to variables. If the string > continues on multiple lines, assign the text to string variables, and > concatenate those variables. > The example below merely shows SHELL accepting a string variable as its > c

Re: [Gambas-user] Line continuation

2013-12-07 Thread MinnesotaJon
If you are using SHELL, you can assign lines to variables. If the string continues on multiple lines, assign the text to string variables, and concatenate those variables. The example below merely shows SHELL accepting a string variable as its command string: DIM sRes as String DIM shellString

Re: [Gambas-user] Line continuation

2013-12-07 Thread Mike Crean
Me to. keep it same as most basic's use underscore On Saturday, 7 December 2013 8:19 PM, Jesus wrote: El 06/12/13 22:04, ISS Boss escribió: > >    I agree with John, Benoît.  There really should be a specific character >to >    continue a line; if only to keep from confusing anyone main

Re: [Gambas-user] Line continuation

2013-12-07 Thread Jesus
El 06/12/13 22:04, ISS Boss escribió: > > I agree with John, Benoît. There really should be a specific character > to > continue a line; if only to keep from confusing anyone maintaining the > code. Put it on the 'nice to have' list, anyway. > Bill > Benoît Minisini wrote,

Re: [Gambas-user] Line continuation

2013-12-06 Thread ISS Boss
I agree with John, Benoît. There really should be a specific character to continue a line; if only to keep from confusing anyone maintaining the code. Put it on the 'nice to have' list, anyway. Bill Benoît Minisini wrote, On 12/06/2013 14:37: Le 06/12/2013 20:17, John Rose a é

Re: [Gambas-user] Line continuation

2013-12-06 Thread Benoît Minisini
Le 06/12/2013 20:17, John Rose a écrit : > Is there a line continuation character available for code? I find that I > often have very long lines (e.g. in Exec commands). > There is no line continuation character, but you usually can go to another line inside an expression after a comma. Regards,

[Gambas-user] Line continuation

2013-12-06 Thread John Rose
Is there a line continuation character available for code? I find that I often have very long lines (e.g. in Exec commands). -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code