Thanks, once again Bernd
You have helped me imensely once again, as usual.
I figured out the suffix issue as well. I guess I am starting to get this, but again not without your help
Thanks again.
Peace and Blessings,
Mario
Search found 17 matches
- Tue Jun 29, 2010 7:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to cause Iterations
- Replies: 5
- Views: 3958
- Tue Jun 29, 2010 11:21 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to cause Iterations
- Replies: 5
- Views: 3958
Re: how to cause Iterations
I solved part of my problem by eleminating the need for iterations. I can just use the log2 operator to do the needed calculation: on mouseUp put field "Entry1" into f put log2(f) into c if c is an integer then put c into field "result" else put first char of c into e <---doesn't work if the number ...
- Tue Jun 29, 2010 2:43 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to cause Iterations
- Replies: 5
- Views: 3958
Re: how to cause Iterations
OK Bernd Here we go! I am trying to build a Octave calculator where a user can enter a frequency value, such as the frequency of middle C on a piano (261.6 hz) Hertz being the measure of cycles per second in other words 1cycle in one second equals 1hz. Once the user clicks the calculate Button the a...
- Mon Jun 28, 2010 8:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: how to cause Iterations
- Replies: 5
- Views: 3958
how to cause Iterations
Thanks Bernd for correcting my terrible spelling nevertheless the code does not work so I am trying a new angle: put 0 into n on mouseup put field "userNum" into f if f>=1*2^n then put "The" && n && Octave into field result else <---- This is where I am stuck-------> end mouseup what I want to happ...
- Mon Jun 28, 2010 2:32 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revTalk for Retards
- Replies: 19
- Views: 13584
Re: revTalk for Retards
Thanks Bernd for correcting my terrible spelling nevertheless the code does not work so I am trying a new angle: put 0 into n on mouseup put field "userNum" into f if f>=1*2^n then put "The" && n && Octave into field result else <---- This is where I am stuck-------> end mouseup what I want to happe...
- Sun Jun 27, 2010 10:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revTalk for Retards
- Replies: 19
- Views: 13584
Re: revTalk for Retards
Thanks Doc I shoould have just tried that in the first place, but I am finding that this code is sometimes intuitive and sometimes not. I am currently dealing with another issue. what I am trying to do is create a octave calculator where the user inputs a frquency number that number is analyzed agai...
- Sun Jun 27, 2010 5:05 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revTalk for Retards
- Replies: 19
- Views: 13584
Re: revTalk for Retards
Hey folks
I was wondering if anyone knows how to allow user input to change the content of a lable. for example I want the user to enter a number in a field then click on a button(calulations will be made upon upmouse) and a lable will display the answer. Is this even possible? Please Help.
Mario
I was wondering if anyone knows how to allow user input to change the content of a lable. for example I want the user to enter a number in a field then click on a button(calulations will be made upon upmouse) and a lable will display the answer. Is this even possible? Please Help.
Mario
- Fri Jun 04, 2010 10:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revTalk for Retards
- Replies: 19
- Views: 13584
Re: revTalk for Retards
Thanks Doc
the file you sent me helped me to solve my issue. the problem was that I put quotations around my button name.
Rev don't like dat.
thanks again everyone.
Peace and Blessings
Mario
the file you sent me helped me to solve my issue. the problem was that I put quotations around my button name.
Code: Select all
on enterInField
send mouseup to button "calcBut"
end enterInField
thanks again everyone.
Peace and Blessings
Mario
- Fri Jun 04, 2010 7:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revTalk for Retards
- Replies: 19
- Views: 13584
Re: revTalk for Retards
Thanks for trying Doc
But still no joy here, if you want to send that file to me directly here is my email equiarch@gmail.com or email me and I can send you what I am working on. I have no idea what I'm doing wrong.
Peace,
Mario
But still no joy here, if you want to send that file to me directly here is my email equiarch@gmail.com or email me and I can send you what I am working on. I have no idea what I'm doing wrong.
Peace,
Mario
- Fri Jun 04, 2010 2:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revTalk for Retards
- Replies: 19
- Views: 13584
Re: revTalk for Retards
Equiarch, You could, for instance, put the following script into the field script: on enterInField send "mouseUp" to btn x end enterInField on returnInField enterInField end returnInField Make sure to replace btn x with a correct reference to your button. Best regards, Mark Thank you Mark for you s...
- Thu Jun 03, 2010 5:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Refering to specific cells within a table
- Replies: 13
- Views: 8750
Re: Refering to specific cells within a table
Mario, sorry, I did not pay attention to that. If you want to clear a field you could do that "on opencard". You would put: on opencard put empty into field "freqField" end opencard into the script of the card the field is on. Than everytime you open this card = go to this card the field will be re...
- Thu Jun 03, 2010 5:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revTalk for Retards
- Replies: 19
- Views: 13584
Re: revTalk for Retards
Hi. Do you mean "mouseEnter" as well as "mouseUp"? I mean when the user types something in a field and presses the Enter Key as well as when they click the button, here is some code to clairify: on mouseUp set the itemdelimiter to tab put field "freqField" *(81/80) & "hz" into item 3 line 2 of fiel...
- Thu Jun 03, 2010 1:55 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: revTalk for Retards
- Replies: 19
- Views: 13584
revTalk for Retards
hello I am new to rev and new to programming and was wondering if there is a book or something on how to script in revTalk. You know, like revTalk for retards or something equally insulting. Just one resouce where I can learn all the basics and some trade secrets. But for right now what I need to kn...
- Wed Jun 02, 2010 5:10 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Refering to specific cells within a table
- Replies: 13
- Views: 8750
Re: Refering to specific cells within a table
Thanks BN for your response But I already tried that and got this error referring to the line staring with on start : card "card id 1002": compilation error at line 1 (Handler: bad handler name (may be reserved word)) near "start", char 1. I also tried this code in the script for the field its self ...
- Wed Jun 02, 2010 8:31 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Refering to specific cells within a table
- Replies: 13
- Views: 8750
Re: Refering to specific cells within a table
Thanks a million Jan!
I was wondering if anyone might know of a list of all the handlers, functions, and commands etc. because this code doesn't seem to work no matter where I put it.
Again please help!!!
Mario
I was wondering if anyone might know of a list of all the handlers, functions, and commands etc. because this code doesn't seem to work no matter where I put it.
Code: Select all
on start
put empty into card fld "freqField"
end start
Mario