#510 LogicLib improvements

2.0 Series
wont-fix
nobody
Plugins (61)
5
2016-12-29
2011-08-15
Jan T. Sott
No

currently, when using ${If} ${FileExists} "$0\*.*", LogicLib will execute code within this if when $0 is empty. while i can easily fix this with a second if-condition, i'd expect the command to behave otherwise.

also, i would love to see some existing functions integrated into LogicLib. i'm thinking of commands such as ${IsWritable} or ${IsRoot}

Discussion

  • Anders

    Anders - 2011-08-15

    ${If} ${FileExists} "\*.*" is a valid command!

    You will just have to test $0:

    ${If} ${FileExists} "$0\*.*"
    ${AndIf} $0 != ""
    ....

     
  • Anders

    Anders - 2016-12-29
    • status: open --> wont-fix
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks