Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] New Clips user...

Expand Messages
  • David Gray
    Thanks Elizabeth, eventually sussed this, but had to set the created values from combobox using around them before it worked. Not sure if this was a
    Message 1 of 3 , Apr 25, 2001
    • 0 Attachment
      Thanks Elizabeth, eventually sussed this, but had to set the created
      values from combobox using "" around them before it worked. Not sure if
      this was a coincidence or not.

      Dave.

      Elizabeth Wild wrote:
      >
      > Hello,
      >
      > One problem that I see right off the bat is that it looks like you used square braces []. All lines with square braces [] are evaluated at the start of the clip (before it
      > does anything else it gathers this info). If you use curly braces {}, then you will be asked to supply the information at different points (when the processor gets to that
      > line). I don't know if this will fix all of the problems (I don't have time to test it right now), but it should help.
      >
      > Elizabeth Wild
      > ewild@...
      >
      > Original message from: David Gray
      > >Hi All,
      > >
      > >I am relatively new to writing clips and have already come across a
      > >problem in the following code:
      > >
      > >^!SetListDelimiter " "
      > >^!IfCancel Exit
      > >^!Set %select%=^?[Select File or Directory==_File^=f|Directory^=d]
      > >^!If %select% = "d" ^!Set %dir%=^?[(T=D)&Find Directory=C:\] Else
      > >%file%=^?[(T=O)&Find File=C:\]
      > >^!If %select% = "d" ^!Set %line%=^%dir% Else ^!Set %line%=^%file%
      > >^%line%
      > >
      > >Why is it that the selection parts of the script all get incorporated
      > >into one and when I do run it, the %line% variable comes out as empty.
      > >
      > >Dave.
      > >--
      > >€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€
      > >€€ €€
      > >€€ David Gray €€
      > >€€ PC Installation and Support €€
      > >€€ University of Aberdeen €€
      > >€€ €€
      > >€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€
      > >
    Your message has been successfully submitted and would be delivered to recipients shortly.