Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Random Sprite Swap
Shockwave Safe Xtras
Drifter
Wait For Frame Ready
Bouncing Ball
Cutting Puzzle Pieces
Dryclean
DM XTreme Transitions
Go to Different Movie
List of Globals
MediaMacros Xtras Mall
 

 

 

Behavior Least Common Denominator

Added on 6/27/2000

 

Compatibilities:
D7 D8 Mac PC Script Shockwave

Rating:

Author: JoergSeibert

Returns the least common Denominator between 2 numbers.

on getLCD num1, num2
  nFirst = max(num1, num2)
  nSecond = min(num1, num2)
  repeat while nFirst mod nSecond
    nDummy = nFirst mod nSecond
    nFirst = nSecond
    nSecond = nDummy
  end repeat
  return nSecond
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail