Skip to content

Commit dd158fc

Browse files
authoredJul 24, 2024
Merge pull request #43 from SASPAC/dev
The BasePlus package [ver. 2.0.1]
2 parents f6f520b + 8ceeeaa commit dd158fc

12 files changed

+7628
-19
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ libname NEW "%workPath()/new";
5656
```
5757
and more.
5858

59-
SHA256 digest for the latest version of `BasePlus`: F*0730DD793516E5C193842126A7EC9D339ADADD19F0F40B071F938CABDE4E66AD
59+
SHA256 digest for the latest version of `BasePlus`: F*FB102C9B12E870666C15A651017D48E0141E47D64C11437350D0EC75A7E9E609
6060

6161
[**Documentation for BasePlus**](./baseplus.md "Documentation for BasePlus")
6262

‎baseplus.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
### Version information:
1010

1111
- Package: BasePlus
12-
- Version: 2.0.0
13-
- Generated: 2024-07-23T21:51:33
12+
- Version: 2.0.1
13+
- Generated: 2024-07-24T07:58:59
1414
- Author(s): Bartosz Jablonski (yabwon@gmail.com), Quentin McMullen (qmcmullen@gmail.com)
1515
- Maintainer(s): Bartosz Jablonski (yabwon@gmail.com)
1616
- License: MIT
17-
- File SHA256: `F*0730DD793516E5C193842126A7EC9D339ADADD19F0F40B071F938CABDE4E66AD` for this version
18-
- Content SHA256: `C*0352F7BB04B99D620BEFD33FF1B1FF1835E6F8F21CC6A764D05EEE51E77E57E0` for this version
17+
- File SHA256: `F*FB102C9B12E870666C15A651017D48E0141E47D64C11437350D0EC75A7E9E609` for this version
18+
- Content SHA256: `C*0444AC5B54150AE5424D335FF89A03D831F00F60898C99250CD59E0C5C5B0398` for this version
1919

2020
---
2121

22-
# The `BasePlus` package, version: `2.0.0`;
22+
# The `BasePlus` package, version: `2.0.1`;
2323

2424
---
2525

2626

27-
# The BasePlus package [ver. 2.0.0] <a name="baseplus-package"></a> ###############################################
27+
# The BasePlus package [ver. 2.0.1] <a name="baseplus-package"></a> ###############################################
2828

2929
The **BasePlus** package implements useful
3030
functions and functionalities I miss in the BASE SAS.
@@ -4521,9 +4521,9 @@ semicolonN(X)
45214521

45224522
## `$bpklenght.` format/informat <a name="bpklenght-formats-49"></a> ######
45234523

4524-
## >>> `bpklenght` format/informat: <<< <a name="bpklenght-format"></a> #######################
4524+
## >>> `bpklength` format/informat: <<< <a name="bpklength-format"></a> #######################
45254525

4526-
The **bpklenght** format and informats uses the `klength()` function
4526+
The **bpklength** format and informats uses the `klength()` function
45274527
to count the number of letters in a word. For empty string returns 0.
45284528

45294529

@@ -4533,9 +4533,9 @@ to count the number of letters in a word. For empty string returns 0.
45334533
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
45344534
data work.count_letters;
45354535
input x $ 32.;
4536-
n = input (x, bpklenght.);
4537-
c = input (x, $bpklenght.);
4538-
format x $bpklenght.;
4536+
n = input (x, bpklength.);
4537+
c = input (x, $bpklength.);
4538+
format x $bpklength.;
45394539
cards;
45404540
ż
45414541
żó
@@ -4570,7 +4570,7 @@ data _null_;
45704570
length x $ 32767;
45714571
do i = 32767/3 to 0 by -1111, 10 to 0 by -1;
45724572
x=repeat("空",i);
4573-
put x $bpklenght.;
4573+
put x $bpklength.;
45744574
end;
45754575
run;
45764576
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -4582,9 +4582,9 @@ run;
45824582

45834583
## `$bplenght.` format/informat <a name="bplenght-formats-50"></a> ######
45844584

4585-
## >>> `bplenght` format/informat: <<< <a name="bplenght-format"></a> #######################
4585+
## >>> `bplength` format/informat: <<< <a name="bplength-format"></a> #######################
45864586

4587-
The **bplenght** format and informats use the `lengthn()` function
4587+
The **bplength** format and informats use the `lengthn()` function
45884588
to count the number of bytes in a word.
45894589

45904590

@@ -4594,9 +4594,9 @@ to count the number of bytes in a word.
45944594
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
45954595
data work.count_bytes;
45964596
input x $ 32.;
4597-
n = input (x, bplenght.);
4598-
c = input (x, $bplenght.);
4599-
format x $bplenght.;
4597+
n = input (x, bplength.);
4598+
c = input (x, $bplength.);
4599+
format x $bplength.;
46004600
cards;
46014601
ż
46024602
żó
@@ -4631,7 +4631,7 @@ data _null_;
46314631
length x $ 32767;
46324632
do i = 32767/3 to 0 by -1111, 10 to 0 by -1;
46334633
x=repeat("空",i);
4634-
put x $bplenght.;
4634+
put x $bplength.;
46354635
end;
46364636
run;
46374637
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

‎baseplus.zip

4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)