Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenphuminh authored Nov 16, 2021
1 parent 9ccefa2 commit 89158ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/FreakC.bat
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ if not "%fccompile%" == "true" if not "%fcread%" == "true" call %output%.bat
exit /b

:fcversion
echo FreakC DevKit Version 0.19.5 BETA
echo FreakC DevKit Version 0.19.6 BETA
exit /b

:: A function to calculate string's length
Expand Down
4 changes: 2 additions & 2 deletions Source/libgen.bat
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ exit /b 0
echo if "%%~2" == "" exit /b
echo if %%~2 LSS 32 exit /b
echo if %%~2 GTR 126 exit /b
echo set alphabet= ^^!"#$%%%%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
echo set alphabet= ^^!"#$%%%%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^^^^_`abcdefghijklmnopqrstuvwxyz{|}~"
echo setlocal enabledelayedexpansion
echo set /a var=%%~2-32
echo set char=^^!alphabet:~%%var%%,1^^!
Expand All @@ -380,7 +380,7 @@ exit /b 0
(
echo setlocal enabledelayedexpansion
echo set target=%%~2
echo set alphabet= ^^^^^^^^^^!"#$%%%%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
echo set alphabet= ^^^^^^^^^^!"#$%%%%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^^^^_`abcdefghijklmnopqrstuvwxyz{|}~"
echo for /l %%%%i in (0,1,94^) do if "^!alphabet:~%%%%i,1^!" == "^!target:~0,1^!" set /a res=%%%%i+32
echo endlocal ^& set %%~1=%%res%%
)>fclib_string_ord.bat
Expand Down

0 comments on commit 89158ac

Please sign in to comment.