Re: Mobile - Open file dialog?

2019-05-15 Thread scott--- via use-livecode
> Ludovic THEBAULT via use-livecode wrote: > Yes it’s work, but if the filename is not short, only the beginning of the > filename is displayed with MobilePick (on iPhone, perhaps not on ipad). I have been bothered by this also. Is this a bug with LiveCode and has it been reported? (I looked

Re: return with ?

2019-05-15 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: >> the API reference at the official LiveCode.com site - where the >> Dictionary seems to have fallen behind: >> >> https://livecode.com/resources/api/#livecode_script/return > > Seems worthy of a bug report ;-) Thanks - done: https://quality.livecode.com/show_bug.cgi?id=

Re: return with ?

2019-05-15 Thread Monte Goulding via use-livecode
> > the API reference at the official LiveCode.com site - > where the Dictionary seems to have fallen behind: > > https://livecode.com/resources/api/#livecode_script/return > Seems worthy of a bug report ;-)

Re: play sounds in HTML5

2019-05-15 Thread Pi Digital via use-livecode
Hi again Alain What you are talking about I think is known as a form of Dynamic HTML. Basically you use LiveCode to build your list of audio files (put the files into tFileList) and choose one (random or picked by the user via a mobilePick...) then replace out the source file pointer ( On 15 Ma

Re: return with ?

2019-05-15 Thread Richard Gaskin via use-livecode
Monte Goulding wrote: >> On 16 May 2019, at 6:22 am, Richard Gaskin wrote: >> >> Line 264 of libURL contains: >> >>return empty with urlResult laLoadedUrls[newUrl] >> >> What is that "with" clause? >> >> I was familiar with the "for" clause", but when I went to check this >> in the Dictionar

Re: return with ?

2019-05-15 Thread Monte Goulding via use-livecode
> On 16 May 2019, at 6:22 am, Richard Gaskin via use-livecode > wrote: > > Line 264 of libURL contains: > >return empty with urlResult laLoadedUrls[newUrl] > > What is that "with" clause? > > I was familiar with the "for" clause", but when I went to check this in the > Dictionary I f

Re: return with ?

2019-05-15 Thread Alex Tweedly via use-livecode
H - my dictionary (9.0.4 rc2 for Mac COmmunity) does have a description of the "for" variant. And I've now read it 10 times, and I'm not sure I'm much better informed :-)  It's a pretty tough read. I see that  "urlresult" is a reserved / key word, not in the dictionary. So I think the co

Re: play sounds in HTML5

2019-05-15 Thread Alain Vezina via use-livecode
Thanks Sean, You did not misunderstand my request. You make me go one step forward : now I can call a sound to be played from a folder where there are several other sound. Now, how can I played a sound chosen by random your chosen by the user; in other words, how can I replace "piano-melody.wa

return with ?

2019-05-15 Thread Richard Gaskin via use-livecode
Line 264 of libURL contains: return empty with urlResult laLoadedUrls[newUrl] What is that "with" clause? I was familiar with the "for" clause", but when I went to check this in the Dictionary I found neither clause is mentioned. :( -- Richard Gaskin Fourth World Systems Software Des

Re: array and revExecuteSQL

2019-05-15 Thread Bob Sneidar via use-livecode
I believe you need to surround the placeholder with single quotes. >> put "UPDATE `t_test` SET `Text` = ':11' WHERE `Nummer` = ':22';" into StrSQL Also you can lose the semicolon as LC will only execute one statement at a time. You cannot string statements. Bob S > On May 15, 2019, at 06:46

Re: array and revExecuteSQL

2019-05-15 Thread axwald via use-livecode
Hi, the notation for revExecuteSQL you mention only works with 1-digit numbers (in my LC 6.7.10). Named arrays and 2- or more digit entries don't work - LC doesn't translate 'em. You can easily check this with your favorite network sniffer: > put "bText" into myArr[11] > put "99" into myArr[22] >

file id/hash

2019-05-15 Thread Mike Kerner via use-livecode
I thought I read something about being able to grab and search on the hash/id of a file. That would certainly be useful for those times where you move a file somewhere and then forget where you put it, and you can't remember the name. -- On the first day, God created the heavens and the Earth On