Hi,
I'm trying to learn some javascript basics, and have a couple of general questions.
Please note: I'm using the portable free version of BRU, just trying to learn some basics to help others.
So far, I cant seem to input Positive or Negative LookBehinds like (?<=...) or (?<!...)
I figured it was probably the < character, so I tried preceding it with chars like \ to no effect.
I also tried single-quoting, double-quoting, and hex-notations like: \x3C and 0x3C, no effect.
Keep getting the error... 'Invalid Group'
Also, is there any way to prompt the user to input data?? I've been trying something like:
var userbrthdy = prompt("What is your birthday?");
Keep getting the error... 'prompt is not defined'
Is there another syntax for using prompt() within BRU?
Would editing sugar.js in any way, allow this to work?
One more question, kinda related to making prompt() work.
When creating some extra library.js files alongside with date/sugar.js...
Is there a way to make BRU auto-see them as it does with date/sugar.js?
I tried creating one, but its name didnt appear under Special / Javascript-Libraries.
No big deal, the manual (pg194) states the equivalent as: require('PathTo/MyLibrary.js');
http://www.bulkrenameutility.co.uk/foru ... =12&t=4743
If anyone has advice, tips, or tricks to make such things like this work, it would be much appreciated.
You'd be helping me to help others too.. So far, all my learning is either from the manual or researching online.
Always looking for good web-references to learn by (if we're allowed to post them on forum)?
Cheers!