update for v6/v7 support

This commit is contained in:
Wifinigel 2023-01-24 20:28:40 +00:00
parent 4871e9432b
commit b10b99bd87
120 changed files with 1479 additions and 22 deletions

View file

@ -1,15 +0,0 @@
# filename: ch9-04-create-global-func.rsc
# function to remove spaces from a string
#
# e.g. :local NoSpaceVar [$RemoveSpaceFunc "string with spaces"]
#
:global RemoveSpaceFunc do={
:local NewName ""
for i from=0 to=([:len $1]-1) do={
:local Tmp [:pick $1 $i]
:if ($Tmp !=" ") do={ :set NewName "$NewName$Tmp" }
}
:return $NewName
}
# --- end of function ---