----------------------------------------------------------------------------------
@MSGID: 1@dont-email.me> 3106245e
@REPLY:
<39328a36-7e32-45d8-8ad1-edcaed682d5cn@googlegroups.com> 0eb8446d
@REPLYADDR Ruvim <ruvim.pinka@gmail.com>
@REPLYTO 2:5075/128 Ruvim
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
<bb6b5107-0dc3-42a2-a47b-d480c250ee33n@googlegroups.com> <df97fe87-85eb-41b1-9dc0-976ab791697cn@googlegroups.com>
1@dont-email.me> <39328a36-7e32-45d8-8ad1-edcaed682d5cn@googlegroups.com>
@TZUTC: 0000
@PID: Mozilla/5.0 (Windows NT 10.0; rv:102.0)
Gecko/20100101 Firefox/102.0
@TID: FIDOGATE-5.12-ge4e8b94
On 2023-09-30 11:46, Marcel Hendrix wrote:
> On Saturday, September 30, 2023 at 12:26:39 PM UTC+2, Ruvim wrote:
> [..]
>> In the SP-Forth/4 distribution (all the repository, many authors):
>> Search for " IF\b"
>> 11205 matches
>> 1263 files contained matches
>> 2421 files searched
>> Search for " ELSE\b"
>> 3868 matches
>> 853 files contained matches
>> 2421 files searched
>> -- 35%
>>
>> In the sources of SP-Forth/4 only
>> Search for " IF\b"
>> 1301 matches
>> 51 files contained matches
>> 85 files searched
>> Search for " ELSE\b"
>> 184 matches
>> 40 files contained matches
>> 85 files searched
>> -- 14%
>
> Shouldn`t that be 65% and 86% ?
I consider the number of matches (not the number of files) in each of
two groups of files. The second group (85 files) is a subset of the
first group (2421 files). The number of files are left for reference only.
Also, I assume that when "ELSE" is used, "IF" is used too.
Thus, the percentage shows the fraction of IF THEN that is used with ELSE.
3868/11205 = 0.35 (in the first group)
184/1301 = 0.14 (in the second group)
--
Ruvim
--- Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0
* Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441