Jump to content











Photo
- - - - -

Newbie says hello to everyone !


  • Please log in to reply
3 replies to this topic

#1 lianzi2000

lianzi2000

    Member

  • Members
  • 43 posts
  •  
    United States

Posted 03 June 2008 - 04:05 AM

I saw a lot of strings quoted by #$q or #$c , when pass to ShellExecute command. What are they and when should I use #$q or #$c to quote strings?

MAny thanks!

lianzi

#2 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 03 June 2008 - 08:27 AM

I saw a lot of strings quoted by #$q or #$c , when pass to ShellExecute command. What are they and when should I use #$q or #$c to quote strings?

MAny thanks!

lianzi


#$q means a quote and #$c means a comma to be passed as parameter.

because comma and quote are elements of the WinBuilder script engine syntax, it would confuse the engine if they are written directly as " or ,

Compare it with the good old 'Escape'

Peter

#3 lianzi2000

lianzi2000

    Member

  • Members
  • 43 posts
  •  
    United States

Posted 03 June 2008 - 12:42 PM

#$q means a quote and #$c means a comma to be passed as parameter.

because comma and quote are elements of the WinBuilder script engine syntax, it would confuse the engine if they are written directly as " or ,

Compare it with the good old 'Escape'

Peter


Thank you very much!

#4 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4202 posts

Posted 04 June 2008 - 06:52 AM

Welcome to the community, lianzi2000




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users