[SOLVED]set variable=set variable= not expected at this time
Posted: 19 Jul 2011 21:03
'
Dear Mr.DOS; please expect the unexpected, at any time.
input:
want:
output:
I would like to use continuations on the internal macro, so it's a bit more readable and easier to debug...
ps: If possible I would even want to see linefeeds on the internal macro
For the ps request I will probably need:
But then I first need to get my first request working...
Phoe, I'm so tired, I'm going to hibernate, see you guys tomorrow
Dear Mr.DOS; please expect the unexpected, at any time.

input:
Code: Select all
set $LF=^
:: Two empty lines are neccessary
set ^"$n1c=^^^%$LF%%$LF%^%$LF%%$LF%^^"
set ^"FileOpen=( %$n1c%
set ^^^"RULE=( ^^^ %$n1c%
you can do it, please Mr.DOS ^^^ %$n1c%
)^" %$n1c%
)"
::
%FileOpen%
set FileOpen
set RULE
Code: Select all
FileOpen=(
set ^"RULE=( ^
you can do it, please Mr.DOS ^
)"
)
RULE=( you can do it, please Mr.DOS )
Code: Select all
FileOpen=(
set ^"RULE=( ^
you can do it, please Mr.DOS ^
)"
)_
" niet verwacht op dit moment.
ps: If possible I would even want to see linefeeds on the internal macro

Code: Select all
RULE=(
you can do it, please Mr.DOS
)
Code: Select all
set ^"$n2=^^^^^^^%$LF%%$LF%^%$LF%%$LF%^^^%$LF%%$LF%^%$LF%%$LF%"
Phoe, I'm so tired, I'm going to hibernate, see you guys tomorrow
