[Gambas-user] Problem parsing a "<" character to the Linux Shell
M0E Lnx
m0e.lnx at ...626...
Thu Jul 24 05:10:11 CEST 2008
I just tried that, and I get the same results. I dont know what the problem is..
sCMD = "lzmadec " & chr(60) & space(1) & sFilePath
for degbuggind, I print sCMD and all I get is "lzmadec". I can print
sFilePath and I know for a fact is has a value.
On 7/23/08, Caveat <Gambas at ...1950...> wrote:
> Have you tried Chr$(60)?
>
> Chr$(33) = ! Chr$(34) = " Chr$(35) = # Chr$(36) = $
> Chr$(37) = % Chr$(38) = & Chr$(39) = ' Chr$(40) = (
> Chr$(41) = ) Chr$(42) = * Chr$(43) = + Chr$(44) = ,
> Chr$(45) = - Chr$(46) = . Chr$(47) = / Chr$(48) = 0
> Chr$(49) = 1 Chr$(50) = 2 Chr$(51) = 3 Chr$(52) = 4
> Chr$(53) = 5 Chr$(54) = 6 Chr$(55) = 7 Chr$(56) = 8
> Chr$(57) = 9 Chr$(58) = : Chr$(59) = ; Chr$(60) = <
> Chr$(61) = = Chr$(62) = > Chr$(63) = ? Chr$(64) = @
> Chr$(65) = A Chr$(66) = B Chr$(67) = C Chr$(68) = D
> Chr$(69) = E Chr$(70) = F Chr$(71) = G Chr$(72) = H
> Chr$(73) = I Chr$(74) = J Chr$(75) = K Chr$(76) = L
> Chr$(77) = M Chr$(78) = N Chr$(79) = O Chr$(80) = P
> Chr$(81) = Q Chr$(82) = R Chr$(83) = S Chr$(84) = T
> Chr$(85) = U Chr$(86) = V Chr$(87) = W Chr$(88) = X
> Chr$(89) = Y Chr$(90) = Z Chr$(91) = [ Chr$(92) = \
> Chr$(93) = ] Chr$(94) = ^ Chr$(95) = _ Chr$(96) = `
> Chr$(97) = a Chr$(98) = b Chr$(99) = c Chr$(100) = d
> Chr$(101) = e Chr$(102) = f Chr$(103) = g Chr$(104) = h
> Chr$(105) = i Chr$(106) = j Chr$(107) = k Chr$(108) = l
> Chr$(109) = m Chr$(110) = n Chr$(111) = o Chr$(112) = p
> Chr$(113) = q Chr$(114) = r Chr$(115) = s Chr$(116) = t
> Chr$(117) = u Chr$(118) = v Chr$(119) = w Chr$(120) = x
>
> On Wed, 2008-07-23 at 17:02 -0500, M0E Lnx wrote:
>> I'm writing an application that uses a shell like to perform some tasks.
>>
>> I need to parse something like "lzmadec < " & sPath to the shell. The
>> problem is,
>> it seems that gambas is only parsing "lzmadec" and ignores everything
>> starting at the "<" to the end of the line.
>>
>> I tried escaping the "<" like "\<" but it doesn't work... says bad
>> string conversion...
>>
>> Any suggestions? is this a bug? feature that I dont know about yet?
>> How do I parse the "<" to the shell?
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list