| Stock Based Compensation (Tables)
 | 9 Months Ended | 
| Jul. 31, 2020 | 
|---|
| Schedule of Option Activity | Information regarding
stock options that were granted outside of Share Plans for the nine months ended July 31, 2020 is as follows:   
    |  |  | Shares |  |  | Weighted Average Exercise
 Price Per Share
 |  |  | Aggregate Intrinsic
 Value
 |  |  
    | Options outstanding at October 31, 2019 |  |  | 1,698,000 |  |  | $ | 2.58 |  |  |  |  |  |  
    | Options outstanding and exercisable at July 31, 2020 |  |  | 1,698,000 |  |  | $ | 2.58 |  |  | $ | 348,090 |  |    Information regarding
stock options that were granted outside of Share Plans for the nine months ended July 31, 2019 is as follows:   
    |  |  | Shares |  |  | Weighted Average Exercise
 Price Per Share
 |  |  | Aggregate Intrinsic
 Value
 |  |  
    | Options outstanding at October 31, 2018 |  |  | 1,780,000 |  |  | $ | 1.58 |  |  |  |  |  |  
    | Options outstanding and exercisable at July 31, 2019 |  |  | 1,780,000 |  |  | $ | 1.58 |  |  | $ | 5,583,900 |  |  | 
| Schedule of Outstanding and Exercisable | The following table summarizes
information about stock options outstanding and exercisable that were granted outside of Share Plans as of July 31, 2020:   
    | Range of Exercise Prices
 |  |  | NumberOutstanding
 and Exercisable |  |  | Weighted AverageRemaining
 Contractual Life
 (in years) |  |  | Weighted Average
 Exercise Price
 |  |  
    | $ | 2.58 |  |  |  | 1,698,000 |  |  |  | 2.00 |  |  | $ | 2.58 |  |    The following table summarizes
information about stock options outstanding and exercisable that were granted outside of Share Plans as of July 31, 2019:   
    | Range of
 Exercise Prices
 |  |  | NumberOutstanding
 and Exercisable |  |  | Weighted AverageRemaining
 Contractual Life
 (in years) |  |  | Weighted Average
 Exercise Price
 |  |  
    | $ | 0.67 |  |  |  | 1,046,000 |  |  |  | 3.30 |  |  | $ | 0.67 |  |  
    | $ | 2.58-$ 5.56 |  |  |  | 734,000 |  |  |  | 2.85 |  |  | $ | 2.88 |  |  | 
| 2003 Plan [Member] |  | 
| Schedule of Option Activity | Information regarding
the 2003 Share Plan for the nine months ended July 31, 2020 is as follows:   
    |  |  | Shares |  |  | Weighted Average Exercise
 Price Per Share
 |  |  | Aggregate Intrinsic
 Value
 |  |  
    | Options outstanding at October 31, 2019 |  |  | 400 |  |  | $ | 17.00 |  |  |  |  |  |  
    | Forfeited/Expired |  |  | (400 | ) |  | $ | 17.00 |  |  |  |  |  |  
    | Options outstanding and exercisable at July 31, 2020 |  |  | - |  |  | $ | -0- |  |  | $ | -0- |  |    Information regarding
the 2003 Share Plan for the nine months ended July 31, 2019 is as follows:   
    |  |  | Shares |  |  | Weighted Average Exercise
 Price Per Share
 |  |  | Aggregate Intrinsic Value
 |  |  
    | Options outstanding at October 31, 2018 |  |  | 12,000 |  |  | $ | 2.77 |  |  |  |  |  |  
    | Exercised |  |  | (4,000 | ) |  | $ | 3.63 |  |  |  |  |  |  
    | Options outstanding and exercisable at July 31, 2019 |  |  | 8,000 |  |  | $ | 2.34 |  |  | $ | 23,694 |  |  | 
| Schedule of Outstanding and Exercisable | The following table summarizes
information about stock options outstanding and exercisable under the 2003 Share Plan as of July 31, 2019:   
    | Range of Exercise Prices
 |  | Number Outstanding
 and
 Exercisable
 |  |  | Weighted Average Remaining Contractual Life
 (in years)
 |  |  | Weighted Average Exercise
 Price
 |  |  
    | $0.67 - $17.00 |  |  | 8,000 |  |  |  | 0.19 |  |  | $ | 2.34 |  |  | 
| 2010 Plan [Member] |  | 
| Schedule of Option Activity | Information regarding
the 2010 Share Plan for the nine months ended July 31, 2020 is as follows:   
    |  |  | Shares |  |  | Weighted Average Exercise
 Price Per Share
 |  |  | Aggregate Intrinsic
 Value
 |  |  
    | Options outstanding at October 31, 2019 |  |  | 1, 1,998,668 |  |  | $ | 2.80 |  |  |  |  |  |  
    | Exercised |  |  | (51,100 | ) |  | $ | 2.39 |  |  |  |  |  |  
    | Forfeited/Expired |  |  | (20,534 | ) |  | $ | 1.72 |  |  |  |  |  |  
    | Options outstanding at July 31, 2020 |  |  | 1 1,927,034 |  |  | $ | 2.82 |  |  | $ | 731,670 |  |  
    | Options exercisable at July 31, 2020 |  |  | 1, 1,772,034 |  |  | $ | 2.84 |  |  | $ | 630,120 |  |    Information regarding
the 2010 Share Plan for the nine months ended July 31, 2019 is as follows:   
    |  |  | Shares |  |  | Weighted Average Exercise
 Price Per Share
 |  |  | Aggregate Intrinsic Value |  |  
    | Options outstanding at October 31, 2018 |  |  | 2,131,868 |  |  | $ | 2.11 |  |  |  |  |  |  
    | Granted |  |  | 10,000 |  |  | $ | 3.64 |  |  |  |  |  |  
    | Exercised |  |  | (32,000 | ) |  | $ | 2.27 |  |  |  |  |  |  
    | Forfeited/Expired |  |  | (99,200 | ) |  | $ | 3.78 |  |  |  |  |  |  
    | Options outstanding at July 31, 2019 |  |  | 2,010,668 |  |  | $ | 2.03 |  |  | $ | 5,422,886 |  |  
    | Options exercisable at July 31, 2019 |  |  | 1,639,556 |  |  | $ | 1.92 |  |  | $ | 4,609,165 |  |  | 
| Schedule of Outstanding and Exercisable | The following table summarizes
information about stock options outstanding and exercisable under the 2010 Share Plan as of July 31, 2020:   
    |  |  | Options Outstanding |  |  | Options Exercisable |  |  
    | Range of Exercise Prices
 |  | Number Outstanding
 |  |  | WeightedAverage
 Remaining
 Contractual Life
 (in years) |  |  | Weighted Average
 Exercise Price
 |  |  | Number Exercisable
 |  |  | WeightedAverage
 Remaining
 Contractual Life
 (in years) |  |  | Weighted Average
 Exercise Price
 |  |  
    | $ 0.67 - $2.30 |  |  | 549,000 |  |  |  | 5.70 |  |  | $ | 1.57 |  |  |  | 494,000 |  |  |  | 5.56 |  |  | $ | 1.64 |  |  
    | $ 2.58 - $ 3.13 |  |  | 846,000 |  |  |  | 3.05 |  |  | $ | 2.79 |  |  |  | 846,000 |  |  |  | 3.41 |  |  | $ | 2.79 |  |  
    | $ 3.46 - $ 5.75 |  |  | 532,034 |  |  |  | 7.45 |  |  | $ | 4.16 |  |  |  | 432,034 |  |  |  | 7.33 |  |  | $ | 4.33 |  |    The following table summarizes
information about stock options outstanding and exercisable under the 2010 Share Plan as of July 31, 2019:   
    |  |  | 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 |  |  | 938,000 |  |  |  | 5.94 |  |  | $ | 0.67 |  |  |  | 799,388 |  |  |  | 5.59 |  |  | $ | 0.67 |  |  
    | $2.27 -$3.01 |  |  | 600,134 |  |  |  | 3.81 |  |  | $ | 2.58 |  |  |  | 600,134 |  |  |  | 3.81 |  |  | $ | 2.58 |  |  
    | $3.46 -$7.00 |  |  | 472,534 |  |  |  | 8.51 |  |  | $ | 4.05 |  |  |  | 240,034 |  |  |  | 8.19 |  |  | $ | 4.43 |  |  | 
| 2018 Plan [Member] |  | 
| Schedule of Option Activity | Information regarding
the 2018 Share Plan for the nine months ended July 31, 2020 is as follows:   
    |  |  | Shares |  |  | Weighted Average Exercise
 Price Per Share
 |  |  | Aggregate Intrinsic Value |  |  
    | Options outstanding at October 31, 2019 |  |  | 3,935,000 |  |  | $ | 3.74 |  |  |  |  |  |  
    | Granted |  |  | 800,000 |  |  | $ | 3.85 |  |  |  |  |  |  
    | Forfeited/Expired |  |  | (258,376 | ) |  | $ | 3.86 |  |  |  |  |  |  
    | Options outstanding at July 31, 2020 |  |  | 4,476,624 |  |  | $ | 3.76 |  |  | $ | -0- |  |  
    | Options exercisable at July 31, 2020 |  |  | 2,403,014 |  |  | $ | 3.76 |  |  | $ | -0- |  |    Information regarding the
2018 Share Plan for the nine months ended July 31, 2019 is as follows:   
    |  |  | Shares |  |  | Weighted Average Exercise
 Price Per Share
 |  |  | Aggregate Intrinsic
 Value
 |  |  
    | Options outstanding at October 31, 2018 |  |  | 3,482,000 |  |  | $ | 3.73 |  |  |  |  |  |  
    | Exercised |  |  | (4,000 | ) |  | $ | 3.84 |  |  |  |  |  |  
    | Forfeited/Expired |  |  | (8,000 | ) |  | $ | 3.84 |  |  |  |  |  |  
    | Options outstanding at July 31, 2019 |  |  | 3,470,000 |  |  | $ | 3.73 |  |  | $ | 3,337,300 |  |  
    | Options exercisable at July 31, 2019 |  |  | 1,321,111 |  |  | $ | 3.73 |  |  | $ | 1,273,443 |  |  | 
| Schedule of Outstanding and Exercisable | The following table summarizes
information about stock options outstanding and exercisable under the 2018 Share Plan as of July 31, 2020:   
    |  |  |  | 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
 |  |  
    | $ | 3.70 |  |  |  | 3,100,000 |  |  |  | 7.78 |  |  | $ | 3.70 |  |  |  | 1,700,000 |  |  |  | 7.78 |  |  | $ | 3.70 |  |  
    | $ | 3.84 - $4.61 |  |  |  | 1,376,624 |  |  |  | 7.55 |  |  | $ | 3.89 |  |  |  | 703,014 |  |  |  | 6.15 |  |  | $ | 3.90 |  |    The following table summarizes
information about stock options outstanding and exercisable under the 2018 Share Plan as of July 31, 2019:   
    |  |  |  | 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
 |  |  
    | $ | 3.70 - $4.61 |  |  |  | 3,470,000 |  |  |  | 8.78 |  |  | $ | 3.73 |  |  |  | 1,321,111 |  |  |  | 8.77 |  |  | $ | 3.73 |  |  |