Folks,
Today, more precisely at 3:03 AM, the SFTP external worked for the first
time and transfered its first file. It was a simple text file called
test.txt whose content was simply YES, but hey, it worked.
The SFTP external is based on libCURL and libSSH2. Right now I managed to
build it only
What is the best way to do multiple logical comparisons and get them to work?
For example
if ((gUSL = pos_vrange) AND (gUSL = neg_vrange)) then
get TRUE
put it into tTester[x][rng_check]
else
get FALSE
put it into
Does this work for you... shedding the outer brackets ?
if (gUSL = pos_vrange) AND (gUSL = neg_vrange) then
What is the best way to do multiple logical comparisons and get them to work?
For example
if ((gUSL = pos_vrange) AND (gUSL = neg_vrange)) then
get TRUE
stupid mistake. was not referencing cell. pos_range should be
tTester[x][pos_range]
works right now.
thanks.
- Start Original Message -
Sent: Mon, 6 Jun 2011 08:21:18 +0100
From: John Dixon dixo...@hotmail.co.uk
To: use-livecode@lists.runrev.com
Subject: RE: Logical Expressions
Now that you've made your code work, you can consider making it shorter and
faster.
LiveCode supports the syntax:
put boolean expression into container
For example,
put gUSL = pos_vrange and gUSL = neg_vrange into Tester[x][rng_check]
-- Dick
On Jun 6, 2011, at 12:37 AM, Van Brollini wrote:
...thanks Robert but 'do login()' was working just fine until I moved it from a
login 'card' in the mainstack into into a login substack.
And it does again now, since I have taken Jaque's advice to use groups with
switched visibility (and background images that simulate popping a substack
thanks, didi not know that
Van
- Start Original Message -
Sent: Mon, 6 Jun 2011 01:39:45 -0700
From: Dick Kriesel dick.krie...@mail.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: Logical Expressions
Now that you've made your code work, you can consider making it
Hi,
I just don't know if I don't see the obvious, or if this is the only way to
go.
I have a switch structure, which looks in a shot form like this:
Switch myVar
case foo1
myFunction 1
case foo2
myFunction 2
etc.
very regular 1 to 1, 2 to 2. Is there a way, with do. or something like
on mouseUp
put foo random(3) into myVar
put (last char of myVar) into whichOne
switch whichOne
case whichOne
put myFunction whichOne
break
end switch
end mouseUp
Maybe ?
From: toolb...@kestner.de
To: use-livecode@lists.runrev.com
Is it really that easy? As I thought - the obvious...
Thanks
Tiemo
-Ursprüngliche Nachricht-
Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
boun...@lists.runrev.com] Im Auftrag von John Dixon
Gesendet: Montag, 6. Juni 2011 14:22
An: use-livecode@lists.runrev.com
Hi,
I think the point is that you wouldn't need the switch anymore:
on bar x
do (foo x)
end bar
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
New: Download
Hi Mark,
you are right in this case, but actually my switch structure has a couple of
different cases, each with a counter.
Thanks
Tiemo
-Ursprüngliche Nachricht-
Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
boun...@lists.runrev.com] Im Auftrag von Mark Schonewille
Hello,
I have another simple question. In HTML for example, when I set up an Option
menu I can set both the Name and the Value of the each of the options in the
list. This give me a way to display one thing to the use but reference a
different value on selection of that item.
In Live Code I can
Good to see you here, Mark:
It's a while since I've been on the list but anyway, how would I go about
building the same tab interface (multiple document interface) as the LC
script editor?
As the user wants to open a document, they would have the choice of
overwriting the existing open
Todd Geist wrote:
I have another simple question. In HTML for example, when I set up an Option
menu I can set both the Name and the Value of the each of the options in the
list. This give me a way to display one thing to the use but reference a
different value on selection of that item.
In
I have another simple question. In HTML for example, when I set up an Option
menu I can set both the Name and the Value of the each of the options in the
list. This give me a way to display one thing to the use but reference a
different value on selection of that item.
In Live Code I can
Hi all,
I need to call a WSDL from within liveCode, ideally from a Revolution CGI. Did
anyone of you do such a thing already? If so, mind to share a recipe? As far as
I know there are soap calls involved. I would not want to switch that to php if
that can be avoided.
All the best,
Malte
switch myVar
case foo1
case foo2
myFunction (last char of myVar)
break
...
If that's what you mean?
~ Chris Innanen
~ Nonsanity
On Mon, Jun 6, 2011 at 8:14 AM, Tiemo Hollmann TB toolb...@kestner.dewrote:
Hi,
I just don't know if I don't see the obvious, or if
Hi all,
thanks to Mark Waddingham, I was able to get a few things sorted regarding
password and numbers only fields.
Short recap: The only keyboard message that appears to fire with cyrillic
keyboards is rawKeyUp. I am currently working on a little field library that I
will be making
Yes, please. S.
On Behalf Of Malte Brill
Sent: Monday, June 06, 2011 10:32 AM
To: use-livecode@lists.runrev.com
Subject: Re: Cyrillic input
...
Short recap: The only keyboard message that appears to fire with cyrillic
keyboards is rawKeyUp. I am currently working on a little field library
Hi folks,
I'm downloading a zip file via a web service call - the file is embedded as a
long string within the ...resultzipFile node of the XML file, accompanied
by a set of nodes that name the (xml text) files that I should find within the
zipped payload.
So, I save this string out to to
I use a custom property for this purpose. For example, when I use it as a
navigation menu to go to a card that the user selects from an Options
control, my cards have their real names and also each card has a custom
property called DisplayName. Then I use this in the Options control (where
Hi Keith,
Your zip file is corrupt. First of all, replace file: with binfile:.
It is possible that the revXML external can't cope with binary data. In that
case, your zip file will stay corrupt and you'll have to retrieve the data
manually.
--
Best regards,
Mark Schonewille
Economy-x-Talk
On 6/6/11 8:20 AM, Richard Gaskin wrote:
Good to see you here, Mark:
It's a while since I've been on the list but anyway, how would I go about
building the same tab interface (multiple document interface) as the LC
script editor?
As the user wants to open a document, they would have the
Hi friends,
anyone ever worked with SMIL and QuickTIme?
I have a strange problem :-/
This SMIL script literally stopped working over night???!!!
smil xmlns:qt=http://www.apple.com/quicktime/resources/smilextensions;
qt:autoplay=true qt:time-slider=true/
head
layout
On 6/5/11 5:00 PM, Roger Eller wrote:
Have you heard anything on how the iOS/Android alignment is coming along at
RunRev?
Not really. The only info I have is that the team is swamped and working
like mad. Presumably they are focusing mainly on all the bugs that
affect *me*, but I'm not
On 6/5/11 12:19 AM, Slava Paperno wrote:
I have a list field (MyListField) with a rawKeyDown handler that tells me
which line is the hilitedLine after every key press.
on rawKeyDown parKey
put return the hilitedLine of me after msg
pass rawKeyDown parKey
end of rawKeyDown
Probably a
I'll test it for you. Give me some guidelines if you will. I have a large
complex Multi-OS network, with managed switches that support SFTP.
Bob
On Jun 5, 2011, at 11:16 PM, Andre Garzia wrote:
Folks,
Today, more precisely at 3:03 AM, the SFTP external worked for the first
time and
Hallelujah, André, lots of us are waiting for your magic. Carry on!
On Jun 6, 2011, at 2:16 AM, Andre Garzia wrote:
Folks,
Today, more precisely at 3:03 AM, the SFTP external worked for the first
time and transfered its first file. It was a simple text file called
test.txt whose content was
Jacqueline,
You're responding to email script with obvious goofs, sorry--but a little
later I posted a link to a working demo that shows the problem:
http://russian.cornell.edu/FocusProblem_Slava.zip
My tests are in Windows 7, but someone on the list confirmed that the demo
fails the same way on
Hi Malte,
My understanding is that although a WSDL is just a type of text file - as in
'definition.wsdl.xml' - the mechanism needed to retrieve it will be driven by
the target web service and the approach the developer has adopted for SOAP
and/or REST access. The target web service should have
On 6/6/11 12:23 PM, Slava Paperno wrote:
Jacqueline,
You're responding to email script with obvious goofs, sorry--but a little
later I posted a link to a working demo that shows the problem:
http://russian.cornell.edu/FocusProblem_Slava.zip
My tests are in Windows 7, but someone on the list
Thanks for the response Mark, the tip on binfile and the possible limitations
of revXML.
This particular XML file isn't too complex. So, although I have the STSXML
libary available, I'll first try extracting the zip file node string as a text
chunk.
Best,
Keith..
On 6 Jun 2011, at 16:22,
Yep, that's another great fix for the problem. Thanks, Jacqueline. S.
-Original Message-
From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Monday, June 06, 2011 1:40 PM
To: How to use LiveCode
Subject: Re:
Sorted - I dropped the string into TextWrangler and saved it with the same
result, so it wasn't revXML failing to handle binary data.
A deeper dig into the web service documentation found that zip file string is
base64encoded.
So, a quick decode before the save to URL binfile:... and all is
Im not sure if the iOS store is the same, but what happens on the Mac App
Store is after an update is released any reviews for the old version get pushed
back to a second tab and a note says something like 'there are no reviews yet
for this version'. You can still click on the tab to show the
I cross posted at runrev beginners forum, but thought folks here might be
interested to know that Google Chrome is now more popular than Safari, and
is actually approaching Firefox as the #2 browser world-wide. It's not
there yet, but a quick inspection of the the figure below (taken from an
Hi Mark,
Chrome, is in the last weeks tests i did since Java applets are now supported
on both OS X and Win platforms, more stable than Safari, faster and more
ergonomic than Firefox. Would be useful (and if yes, urgent !) to get the
plugin able to run on the Chrome platform...
Best,
--
on Mon Jun 6 10:59:46 CDT 2011, J. Landman Gay wrote:
I think the OP means horizontal tabs, since that's what the LiveCode
editor uses.
That's as simple as setting up a tab button where each tab opens either
the correct card, or shows the correct group.
Hi Jaqueline and Richard,
Thanx for the
Pierre,
So you are one of the beta testers? That's great news. I'm looking
forward to a more complete Chrome (and Live) experience.
Thanks!
Mark
--
View this message in context:
It's actually more like a menu. One of the caveats (at least in the past, they
may have fixed it) is that like some types of menus, picking the same thing as
you picked last time does not generate the menuPick command, so you have to
fudge it.
Bob
On Jun 6, 2011, at 1:00 PM, Mark Stuart
If it works as well as Dropbox, and supports Windows as well as Mac it will be
great.
Never got to grips with externals, is there a guide somewhere as to how to get
started.
Andy
On 6 Jun 2011, at 22:35, Andre Garzia wrote:
thats what externals are for!
On Mon, Jun 6, 2011 at 6:31 PM,
On Jun 6, 2011, at 3:05 PM, Bob Sneidar wrote:
It's actually more like a menu. One of the caveats (at least in the
past, they may have fixed it) is that like some types of menus,
picking the same thing as you picked last time does not generate the
menuPick command, so you have to fudge
On Mon, Jun 6, 2011 at 12:17 PM, J. Landman Gay wrote:
On 6/5/11 5:00 PM, Roger Eller wrote:
Have you heard anything on how the iOS/Android alignment is coming along
at
RunRev?
Not really. The only info I have is that the team is swamped and working
like mad. Presumably they are
Pete-
Monday, June 6, 2011, 3:31:02 PM, you wrote:
It's still that way in 4.6.0. Also note that the menuPick message for
tabbed menus includes a parameter containing the previous tab selection as
well as the one just clicked. Wish they'd done that for ALL types of menu
buttons.
Wait a
Malte-
Monday, June 6, 2011, 7:21:33 AM, you wrote:
I need to call a WSDL from within liveCode, ideally from a
Revolution CGI. Did anyone of you do such a thing already? If so,
mind to share a recipe? As far as I know there are soap calls
involved. I would not want to switch that to php if
On Jun 6, 2011, at 6:49 PM, Jim Ault wrote:
It is like clicking the same radio button in a group.
If the user makes the same choice in a menu, since there is no change, should
the menupick report it?
If a tree falls in the forest and nobody is there to hear it, does it make a
sound?
Or, If
Touche! However changing menuPick to supply the previous selection for all
menu buttons wouldn't anybody's code one iota until they decided to make use
of that extra info.
Pete
Molly's Revenge http://www.mollysrevenge.com
On Mon, Jun 6, 2011 at 5:36 PM, Mark Wieder mwie...@ahsoftware.net
48 matches
Mail list logo