Skip to content

Conversation

@Joe7M
Copy link
Contributor

@Joe7M Joe7M commented Jan 6, 2023

Hi Chris,

I changed the functions RGB and RGBF. Now they will clamp the parameters if the user provides values outside the range. The code is as fast as it was before.

I fixed a bug for DIM, when using DIM(lower TO upper). The lower value could not be larger then 127. See: https://www.syntaxbomb.com/smallbasic/baffling-index-out-of-range-error-for-certain-array-values/

Regards, Joerg

@Joe7M
Copy link
Contributor Author

Joe7M commented Jan 22, 2023

One more bugfix: in Windows DIRWALK showed inconsistent directory separator. See https://www.syntaxbomb.com/smallbasic/dirwalk-on-windows-inconsistency

Additionally sometimes the return-path in DIRWALK ended with a slash (or backslash in WIN), sometimes it didn't. Now it will end always without slash or backlash.

Copy link
Contributor

@chrisws chrisws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good thanks

@chrisws chrisws merged commit dc61154 into smallbasic:master Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants