` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Clarion 6: MulDiv
2003-01-21 -- Alexey Solovjev
 
Hello, > > If I do the following, then all works correctly. > > > > ?Image1{PROP:Height} = INT((ImageH * WindowW) / ImageW) > > ?Image1{PROP:Width} = WindowW > > This way not only is a work around but it is faster than variant without > INT(). Following way is even faster: MAP MODULE('') MulDiv (SIGNED,SIGNED,SIGNED),SIGNED,PASCAL END END ... ?Image1{PROP:Height} = MulDiv (ImageH, WindowW, ImageW) Alexey Solovjev


Today is November 23, 2024, 3:33 am
This article has been viewed 35322 times.
Google search has resulted in 36 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: