|
Basic4GL Fmod Function
Page history
last edited
by matthew 5 years, 3 months ago
Basic4GL Fmod Function
- Manually creating a modulo operator for the C64 here
- An example of the fmod command in the C programming language here
- Code Syntax Highlighting by Quick Highlighter
-
' Example of the Fmod (Floating Modulus) function in Basic4GL
-
'
-
-
declare function fmod#(x#, y#)
-
-
function fmod#(x#, y#)
-
return (x# - Int(x# / y#) * y#)
-
end function
-
-
printr fmod#(1.6, 1.2)
-
-
drawtext()
Basic4GL Fmod Function
|
Tip: To turn text into a link, highlight the text, then click on a page or file from the list above.
|
|
|
Comments (0)
You don't have permission to comment on this page.