please write some more documentation Gintaras Administrator Posts: 11,929 Threads: 138 Joined: Dec 2002 10-07-2010, 01:26 PM Macro Macro1469 Code: ```out ; Generate the square root of a number between c to b int i c b c=2 b=101 ARRAY(int) a for(i c b) a[]=i ;;adds and sets 1 element for(i 0 a.len) out F"The square root of {a[i]} is {sqrt(a[i])%%.13f}"``` Josh Member Posts: 59 Threads: 2 Joined: May 2010 10-07-2010, 06:30 PM Gintaras, O great one, you never failed me. This is great for any routine math generations. Name the file as QMMathGenerator. For this example just change: ; Generate the square root of a number between c to b to ; Generate the square root of a number from c to (b-1) and everything should work great. For the reader's effort try squaring and cubing generations from 1 to 100. Thanks a million. Josh of California Josh Member Posts: 59 Threads: 2 Joined: May 2010 01-08-2011, 05:35 PM Something still missing with QM? Some trigonometric functions are not illustrated elswhere. I think these features should be added for completeness sake. example the sine function can be generated using function of x series: This will only prove then that the QM is compatible with some automation programs around. These functions would be adding greatness to The Vigs existing calculator program to an extension scientific calculator program. Josh of California BREAKTIME Gintaras Administrator Posts: 11,929 Threads: 138 Joined: Dec 2002 01-08-2011, 07:11 PM Look in math category. Code: `math.sin` Josh Member Posts: 59 Threads: 2 Joined: May 2010 01-26-2011, 04:32 PM Gintaras, kindly show an example say how to get sin (30 degrees) and arcsin(30 degrees) There are no examples I can find . Please lead me directly and thanks for your patience. Gintaras Administrator Posts: 11,929 Threads: 138 Joined: Dec 2002 01-26-2011, 04:56 PM http://msdn.microsoft.com/en-us/library ... 71%29.aspx http://msdn.microsoft.com/en-us/library ... 71%29.aspx Macro Macro1536 Code: ```double degrees=30 def PI 3.1415926535897932384626433832795 double s=sin(degrees*PI/180) ;;converst degrees to radians and calculates sin double a=asin(s)*180/PI ;;calculates arcsin and converts radians to degrees out s out a``` Josh Member Posts: 59 Threads: 2 Joined: May 2010 01-26-2011, 07:23 PM Thanks Again Gintaras I am therefore attaching the QM macro to generate a table for sin , cos and tan from zero to 90 degrees just for the learning use of others.     Josh Member Posts: 59 Threads: 2 Joined: May 2010 01-27-2011, 04:28 PM END OF BREAKTIME and going back to the real world ftp inquiry. Gintaras, Going back to your Sept 7, 2010 response. Kindly please end my frustrations on understanding your instructions below as I am novice to these trigger commands. I believe other novice users will appreciate and benefit tremendously from these as well. Please explain the first two lines with ? (line 1 and line2)the simplest way possible to generate these commands It seems that you are trying to set the downloading/uploading icon on the upper left hand of the windows(macro line 3 and 4) Am I right? Function qm_internet_progress_dialog_pos ? ........... ..................... line1 Trigger !cv"Downloading" "#32770" "" "" "" 0x2 ? ................................. line2 int hwnd=val(_command)................................................................ line3 mov 0 0 hwnd ............................................................................ line4 A million thanks, Josh of California Gintaras Administrator Posts: 11,929 Threads: 138 Joined: Dec 2002 01-27-2011, 05:19 PM QM generates these 2 lines and code when you copy macro using QM menu Edit -> Other Formats -> Copy for QM forum. And stores in clipboard. Then you can paste in your post. Josh Member Posts: 59 Threads: 2 Joined: May 2010 03-05-2011, 07:06 AM Gintaras, I went to the forum and I was overwhelmed with about 33 wordly pages all about triggers more than the other properties of QM. My honest take on this is that lhe best presentation to over simplify these is thru video presentations. Thank you, Josh of California Josh Member Posts: 59 Threads: 2 Joined: May 2010 07-02-2011, 06:12 AM VISUAL PRESENTATION (DOCUMENTATION) Now since this is the age of the Apple i phone, i pad, i touch , and the htc's creating visual video presentation work like a charm and affordable. I think we need to spend more time to resort to these technology to make our lives less stressfull and for the betterment of our community. How about using these for our QM visuals,,,,like learning how to use "trigger" for example. Let us all move on. Thanks, Josh of California « Next Oldest | Next Newest »