equal
deleted
inserted
replaced
10 ======= |
10 ======= |
11 |
11 |
12 String is a sequence of chars. To represent spaces enclose string in quotes. |
12 String is a sequence of chars. To represent spaces enclose string in quotes. |
13 To escape quote use $\. ${MACRO_NAME}, $(VAR_NAME) substituted with |
13 To escape quote use $\. ${MACRO_NAME}, $(VAR_NAME) substituted with |
14 macros/variable values. To escape $ use $$. |
14 macros/variable values. To escape $ use $$. |
|
15 |
|
16 :: |
15 |
17 |
16 MessageBox MB_OK "I'll be happy" ; this one puts a ' inside a string |
18 MessageBox MB_OK "I'll be happy" ; this one puts a ' inside a string |
17 MessageBox MB_OK 'And he said to me "Hi there!"' ; this one puts a " inside a string |
19 MessageBox MB_OK 'And he said to me "Hi there!"' ; this one puts a " inside a string |
18 MessageBox MB_OK `And he said to me "I'll be happy!"` ; this one puts both ' and "s inside a string |
20 MessageBox MB_OK `And he said to me "I'll be happy!"` ; this one puts both ' and "s inside a string |
19 MessageBox MB_OK "$\"A quote from a wise man$\" said the wise man" ; this one shows escaping of quotes |
21 MessageBox MB_OK "$\"A quote from a wise man$\" said the wise man" ; this one shows escaping of quotes |