STOCK BASED COMPENSATION (Tables)
   | 
3 Months Ended | 
Jan. 31, 2022  | 
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | 
 
 | 
| SCHEDULE OF OPTION ACTIVITY | 
 SCHEDULE OF OPTION ACTIVITY  
  
    |   | 
  | 
    Shares | 
  | 
  | 
    Weighted 
    Average  
Exercise  Price Per Share | 
  | 
  | 
    
 Aggregate 
                                                                                Intrinsic
                                            Value  (in thousands) 
 | 
  | 
 
  
    | Options outstanding at October
    31, 2021 | 
  | 
      | 
1,642,000 | 
  | 
  | 
    $ | 
2.58 | 
  | 
  | 
      | 
  | 
  | 
 
    Options outstanding
    and exercisable at  January 31, 2022 | 
  | 
      | 
1,642,000 | 
  | 
  | 
    $ | 
2.58 | 
  | 
  | 
    $ | 
1,158 | 
  | 
 
   
 Information
regarding stock options that were granted outside of share plans for the three months ended January 31, 2021 is as follows: 
  
  
    |   | 
  | 
    Shares | 
  | 
  | 
    Weighted 
    Average Exercise  Price Per Share | 
  | 
  | 
    
 Aggregate 
                                                                                Intrinsic
                                            Value  (in thousands) 
 | 
  | 
 
  
    | Options outstanding at October
    31, 2020 | 
  | 
      | 
1,698,000 | 
  | 
  | 
    $ | 
2.58 | 
  | 
  | 
      | 
  | 
  | 
 
  
    Options outstanding
    and exercisable at  January 31, 2021 | 
  | 
      | 
1,698,000 | 
  | 
  | 
    $ | 
2.58 | 
  | 
  | 
    $ | 
1,825 | 
  | 
 
   
 
 | 
| SCHEDULE OF OUTSTANDING AND EXERCISABLE | 
 SCHEDULE OF OUTSTANDING AND EXERCISABLE  
  
    | 
 Range
                                            of  Exercise
                                            Prices 
 | 
  | 
  | 
    
 Number 
                                            Outstanding  and  Exercisable 
 | 
  | 
  | 
    
 Weighted
                                            Average Remaining  
Contractual Life  (in
                                            years) 
 | 
  | 
  | 
    Weighted 
    Average  Exercise Price | 
  | 
 
  
    | $ | 
2.58 | 
  | 
  | 
      | 
1,642,000 | 
  | 
  | 
      | 
0.6 | 
  | 
  | 
    $ | 
2.58 | 
  | 
 
   
The
following table summarizes information about stock options outstanding and exercisable that were granted outside of share plans as of
January 31, 2021:  
  
     Range
    of 
    Exercise Prices | 
  | 
  | 
    
 Number 
                                            Outstanding  and  Exercisable 
 | 
  | 
  | 
    
 Weighted
                                            Average  Remaining  Contractual Life  (in
                                            years) 
 | 
  | 
  | 
    Weighted
     
    Average  Exercise Price | 
  | 
 
  
    | $ | 
2.58 | 
  | 
  | 
      | 
1,698,000 | 
  | 
  | 
      | 
1.6 | 
  | 
  | 
    $ | 
2.58 | 
  | 
 
   
 
 | 
| 2010 Share Plan [Member] | 
 
 | 
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | 
 
 | 
| SCHEDULE OF OPTION ACTIVITY | 
 SCHEDULE OF OPTION ACTIVITY  
  
    |   | 
  | 
    Shares | 
  | 
  | 
    Weighted
     Average Exercise  Price Per Share | 
  | 
  | 
    Aggregate
     Intrinsic Value  (in thousands) | 
  | 
 
  
    | Options outstanding at October 31, 2021 | 
  | 
      | 
1,718,634 | 
  | 
  | 
    $ | 
2.82 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Granted | 
  | 
      | 
- | 
  | 
  | 
    $ | 
- | 
  | 
  | 
      | 
  | 
  | 
 
    | Exercised | 
  | 
      | 
(100,000 | 
) | 
  | 
    $ | 
2.92 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Forfeited/Expired | 
  | 
      | 
- | 
 | 
  | 
    $ | 
- | 
  | 
  | 
      | 
  | 
  | 
 
    Options outstanding
    and exercisable at  January 31, 2022 | 
  | 
      | 
   1,618,634 
 | 
  | 
  | 
    $ | 
2.81 | 
  | 
  | 
    $ | 
1,216 | 
  | 
 
  
    | Options
    Outstanding | 
  | 
      | 
- | 
  | 
  | 
    $ | 
- | 
  | 
  | 
    $ | 
- | 
  | 
 
    | Options
    Exercisable | 
  | 
      | 
- | 
  | 
  | 
    $ | 
- | 
  | 
  | 
    $ | 
- | 
  | 
 
 
 Information
regarding the 2010 Share Plan for the three months ended January 31, 2021 is as follows: 
  
  
    |   | 
  | 
    Shares | 
  | 
  | 
    Weighted
     Average Exercise  Price Per Share | 
  | 
  | 
    Aggregate
     Intrinsic Value  (in thousands) | 
  | 
 
  
    | Options Outstanding
    at October 31, 2020 | 
  | 
      | 
1,907,534 | 
  | 
  | 
    $ | 
2.82 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Exercised | 
  | 
      | 
(6,000 | 
) | 
  | 
    $ | 
2.32 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Forfeited/Expired | 
  | 
      | 
(400 | 
) | 
  | 
    $ | 
5.75 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Options
    Outstanding at January 31, 2021 | 
  | 
      | 
1,901,134 | 
  | 
  | 
    $ | 
2.82 | 
  | 
  | 
    $ | 
1,906 | 
  | 
 
  
    | Options
    Exercisable at January 31, 2021 | 
  | 
      | 
1,823,634 | 
  | 
  | 
    $ | 
2.83 | 
  | 
  | 
    $ | 
1,822 | 
  | 
 
   
 
 | 
| SCHEDULE OF OUTSTANDING AND EXERCISABLE | 
 The
following table summarizes information about stock options outstanding and exercisable under the 2010 Share Plan as of January 31, 2022: 
SCHEDULE OF OUTSTANDING AND EXERCISABLE  
  
    Range
    of  Exercise Prices | 
  | 
  | 
    Number 
    Outstanding and  Exercisable | 
  | 
  | 
    Weighted
    Average  Remaining  Contractual Life  (in years) | 
  | 
  | 
    Weighted
      Average  Exercise Price | 
  | 
 
  
    | $ | 
0.67
                                            - $2.30 | 
  | 
  | 
      | 
527,500 | 
  | 
  | 
      | 
4.3 | 
  | 
  | 
    $ | 
1.54 | 
  | 
 
  
    | $ | 
2.58
                                            - $3.13 | 
  | 
  | 
      | 
577,000 | 
  | 
  | 
      | 
2.9 | 
  | 
  | 
    $ | 
2.76 | 
  | 
 
  
    | $ | 
3.46
                                            - $5.30 | 
  | 
  | 
      | 
514,134 | 
  | 
  | 
      | 
6.2 | 
  | 
  | 
    $ | 
4.16 | 
  | 
 
   
The
following table summarizes information about stock options outstanding and exercisable under the 2010 Share Plan as of January 31, 2021:  
  
|   | 
      | 
  | 
    Options
    Outstanding | 
      | 
    Options
    Exercisable | 
 
  
|   | 
    Range
    of  Exercise Prices | 
  | 
      | 
Number 
                                            Outstanding | 
  | 
  | 
      | 
 Weighted 
                                            Average  Remaining  Contractual Life  (in
                                            years) 
 | 
  | 
  | 
      | 
Weighted
                                              Average  Exercise Price | 
  | 
  | 
      | 
Number 
                                            Exercisable | 
  | 
  | 
      | 
 Weighted 
                                            Average  Remaining  Contractual Life  (in
                                            years) 
 | 
  | 
  | 
    Weighted 
     Average 
    Exercise  
    Price | 
 
  
| $ | 
    0.67
    - $2.30 | 
  | 
      | 
544,000 | 
  | 
  | 
      | 
5.2 | 
  | 
  | 
    $ | 
1.56 | 
  | 
  | 
      | 
516,500 | 
  | 
  | 
      | 
5.2 | 
  | 
  | 
    $ | 
    1.60 | 
 
  
| $ | 
    2.58
    - $ 3.13 | 
  | 
      | 
833,000 | 
  | 
  | 
      | 
3.1 | 
  | 
  | 
    $ | 
2.79 | 
  | 
  | 
      | 
833,000 | 
  | 
  | 
      | 
3.5 | 
  | 
  | 
    $ | 
    2.79 | 
 
  
| $ | 
    3.46
    - $ 5.30 | 
  | 
      | 
524,134 | 
  | 
  | 
      | 
7.1 | 
  | 
  | 
    $ | 
4.17 | 
  | 
  | 
      | 
474,134 | 
  | 
  | 
      | 
7.1 | 
  | 
  | 
    $ | 
    4.25 | 
 
   
 
 | 
| 2018 Share Plan [Member] | 
 
 | 
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | 
 
 | 
| SCHEDULE OF OPTION ACTIVITY | 
 SCHEDULE OF OPTION ACTIVITY  
  
    |   | 
  | 
    Shares | 
  | 
  | 
    Weighted 
    Average Exercise  Price Per Share | 
  | 
  | 
    
 Aggregate 
                                                                                Intrinsic
                                            Value  (in thousands) 
 | 
  | 
 
  
    | Options outstanding
    at October 31, 2021 | 
  | 
      | 
7,409,992 | 
  | 
  | 
    $ | 
3.76 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Granted | 
  | 
      | 
30,000 | 
  | 
  | 
    $ | 
3.24 | 
  | 
  | 
      | 
  | 
  | 
 
    | Options
    outstanding at January 31, 2022 | 
  | 
      | 
7,439,992 | 
  | 
  | 
    $ | 
3.76 | 
  | 
  | 
    $ | 
676 | 
  | 
 
  
    | Options
    exercisable at January 31, 2022 | 
  | 
      | 
3,986,659 | 
  | 
  | 
    $ | 
3.66 | 
  | 
  | 
    $ | 
347 | 
  | 
 
   
 Information
regarding the 2018 Share Plan for the three months ended January 31, 2021 is as follows: 
  
  
    |   | 
  | 
    Shares | 
  | 
  | 
    Weighted 
    Average Exercise  Price Per Share | 
  | 
  | 
    
 Aggregate 
                                                                                Intrinsic
                                            Value (in thousands) 
 | 
  | 
 
  
    | Options outstanding
    at October 31, 2020 | 
  | 
      | 
4,346,661 | 
  | 
  | 
    $ | 
3.69 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Granted | 
  | 
      | 
1,130,000 | 
  | 
  | 
    $ | 
2.83 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Exercised | 
  | 
      | 
(23,880 | 
) | 
  | 
    $ | 
3.78 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Forfeited/Expired | 
  | 
      | 
(392,781 | 
) | 
  | 
    $ | 
3.70 | 
  | 
  | 
      | 
  | 
  | 
 
  
    | Options
    outstanding at January 31, 2021 | 
  | 
      | 
5,060,000 | 
  | 
  | 
    $ | 
3.49 | 
  | 
  | 
    $ | 
1,185 | 
  | 
 
  
    | Options
    exercisable at January 31, 2021 | 
  | 
      | 
2,312,640 | 
  | 
  | 
    $ | 
3.69 | 
  | 
  | 
    $ | 
148 | 
  | 
 
   
 
 | 
| SCHEDULE OF OUTSTANDING AND EXERCISABLE | 
 The
following table summarizes information about stock options outstanding and exercisable under the 2018 Share Plan as of January 31, 2022: 
SCHEDULE OF OUTSTANDING AND EXERCISABLE  
  
    |   | 
  | 
  | 
    Options
    Outstanding | 
  | 
  | 
    Options
    Exercisable | 
  | 
 
  
    |   | 
 Range
                                            of  Exercise Prices | 
  | 
  | 
      | 
Number 
                                            Outstanding | 
  | 
  | 
      | 
 Weighted 
                                            Average  Remaining  Contractual Life  (in
                                            years) 
 | 
  | 
  | 
      | 
Weighted
                                              Average  Exercise Price | 
  | 
  | 
      | 
Number 
                                            Exercisable | 
  | 
  | 
      | 
 Weighted 
                                            Average  Remaining  Contractual Life  (in
                                            years) 
 | 
  | 
  | 
      | 
Weighted
                                              Average  Exercise 
 Price | 
  | 
 
  
    | $ | 
2.09
                                            - $3.87 | 
  | 
  | 
      | 
3,969,992 | 
  | 
  | 
      | 
7.5 | 
  | 
  | 
    $ | 
3.42 | 
  | 
  | 
      | 
3,030,548 | 
  | 
  | 
      | 
7.1 | 
  | 
  | 
    $ | 
3.53 | 
  | 
 
  
    | $ | 
3.96
                                       - $5.30 | 
  | 
  | 
      | 
3,470,000 | 
  | 
  | 
      | 
8.7 | 
  | 
  | 
    $ | 
4.16 | 
  | 
  | 
      | 
956,111 | 
  | 
  | 
      | 
7.8 | 
  | 
  | 
    $ | 
4.08 | 
  | 
 
   
The
following table summarizes information about stock options outstanding and exercisable under the 2018 Share Plan as of January 31, 2021:  
  
    |   | 
  | 
  | 
    Options
    Outstanding | 
  | 
  | 
    Options
    Exercisable | 
  | 
 
  
    |   | 
Range
of  Exercise Prices | 
  | 
  | 
      | 
Number 
                                            Outstanding | 
  | 
  | 
      | 
 Weighted 
                                            Average  Remaining  Contractual Life  (in
                                            years) 
 | 
  | 
  | 
      | 
Weighted
                                              Average  Exercise Price | 
  | 
  | 
      | 
Number 
                                            Exercisable | 
  | 
  | 
      | 
 Weighted 
                                            Average  Remaining  Contractual Life  (in
                                            years) 
 | 
  | 
  | 
      | 
Weighted
                                              Average  Exercise 
 Price | 
  | 
 
  
    | $ | 
2.09
                                            - $3.70 | 
  | 
  | 
      | 
3,975,000 | 
  | 
  | 
      | 
8.1 | 
  | 
  | 
    $ | 
3.38 | 
  | 
  | 
      | 
1,664,862 | 
  | 
  | 
      | 
7.5 | 
  | 
  | 
    $ | 
3.61 | 
  | 
 
  
    | $ | 
3.84
                                       - $4.61 | 
  | 
  | 
      | 
1,085,000 | 
  | 
  | 
      | 
8.0 | 
  | 
  | 
    $ | 
3.90 | 
  | 
  | 
      | 
647,778 | 
  | 
  | 
      | 
7.7 | 
  | 
  | 
    $ | 
3.92 | 
  | 
 
   
 
 |