Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clean-ide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
clean-ide
Commits
5aab8cda
Commit
5aab8cda
authored
Feb 03, 2003
by
Diederik van Arkel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use rem instead of mod
parent
2c6d6118
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
Ide/EdClient.icl
Ide/EdClient.icl
+1
-1
Ide/PmDialogues.icl
Ide/PmDialogues.icl
+3
-3
Pm/PmAbcMagic.icl
Pm/PmAbcMagic.icl
+1
-1
Util/UtilOptions.icl
Util/UtilOptions.icl
+1
-1
No files found.
Ide/EdClient.icl
View file @
5aab8cda
...
...
@@ -851,7 +851,7 @@ where
=
doit
(
inc
i
)
s
l
[
c
:
m
]
(
safemod
(
dec
n
)
tabwidth
)
safemod
x
m
#
s
=
x
mod
m
#
s
=
x
rem
m
|
s
<=
0
=
s
+
m
=
s
...
...
Ide/PmDialogues.icl
View file @
5aab8cda
...
...
@@ -821,8 +821,8 @@ IntToMemSize mem
=
kilomemstr
;
=
memstr
;
where
mega
=
mem
mod
Mega
==
0
;
kilo
=
mem
mod
Kilo
==
0
;
mega
=
mem
rem
Mega
==
0
;
kilo
=
mem
rem
Kilo
==
0
;
megamemstr
=
toString
(
mem
/
Mega
)
+++
"M"
;
kilomemstr
=
toString
(
mem
/
Kilo
)
+++
"K"
;
memstr
=
toString
mem
;
...
...
@@ -926,7 +926,7 @@ FixedPointToString n
=
toString
(
n
>>
8
);
where
first_digit
=
fraction
/
10
;
second_digit
=
fraction
mod
10
;
second_digit
=
fraction
rem
10
;
fraction
=
toInt
(
toReal
(
n
bitand
255
)
*
100.0
/
256.0
);
//-- path fiddling utils
...
...
Pm/PmAbcMagic.icl
View file @
5aab8cda
...
...
@@ -213,7 +213,7 @@ AC_Add path date info abccache
#!
c
=
{
c
&
[
i
]
=
newstuff
}
=
{
abccache
&
cache
=
c
,
curi
=
(
inc
i
)
mod
ABCCacheSize
,
curi
=
(
inc
i
)
rem
ABCCacheSize
,
maxi
=
if
(
m
<
(
dec
ABCCacheSize
))
i
m
}
where
...
...
Util/UtilOptions.icl
View file @
5aab8cda
...
...
@@ -285,7 +285,7 @@ ReadOptionsFile file
|
string
.[
offset
]
==
' '
=
indentation
(
offset
+1
)
(
indent
+1
)
string
|
string
.[
offset
]
==
'\t'
=
indentation
(
offset
+1
)
(
indent
+
(
TabSize
-
(
indent
mod
TabSize
)))
string
=
indentation
(
offset
+1
)
(
indent
+
(
TabSize
-
(
indent
rem
TabSize
)))
string
|
otherwise
=
(
indent
,
offset
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment