Search found 5 matches
- October 8th, 2009, 11:02 pm
- Forum: Scripts Discussion
- Topic: searching array for a value, then getting index number
- Replies: 2
- Views: 11461
Re: searching array for a value, then getting index number
thanks, it helped.
- October 8th, 2009, 9:00 am
- Forum: Scripts Discussion
- Topic: concatination with "\" and file existance check
- Replies: 2
- Views: 7626
Re: concatination with "\" and file existance check
ok, issue has been resolved
a- "exists" spelling error
b- some xml file error "-" or "_" confusion.
thanks everyone
a- "exists" spelling error
b- some xml file error "-" or "_" confusion.
thanks everyone
- October 8th, 2009, 3:41 am
- Forum: Scripts Discussion
- Topic: searching array for a value, then getting index number
- Replies: 2
- Views: 11461
searching array for a value, then getting index number
i have an array, myArr = ["apple","orange","grapes","lemon"]; i wanted to check whats index number of orange is in above array // search element, if yes, whats the index is? basically array is lengthy? don't wanna iterate through, check equality comparison and...
- October 8th, 2009, 2:28 am
- Forum: Scripts Discussion
- Topic: concatination with "\" and file existance check
- Replies: 2
- Views: 7626
Re: concatination with "\" and file existance check
ok, first problem is solved via "\\", it is working fine only problem left is, i m unable to make sure file exist, its always returning false in both cases method1 = "/c/batch/ins/quickTest.mov"; method2 = "c:\batch\ins\quickTest.mov"; var chkFile1 = new File(method1); ...
- October 8th, 2009, 2:10 am
- Forum: Scripts Discussion
- Topic: concatination with "\" and file existance check
- Replies: 2
- Views: 7626
concatination with "\" and file existance check
basically my problems are 1- concatinate strings and adding "/" or "\" characters in it. for example path = "c:\batch\ins" fileName = "quickTest.mov" file = path + "\" + file; // this is giving error right now 2- check if file exist then load it as a...