Search found 2552 matches

by mwieder
Wed Oct 04, 2017 6:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How can I make a PUT request to an API framework
Replies: 11
Views: 574

Re: How can I make a PUT request to an API framework

CouchDB is indeed well supported by Greg Miller's Daybed library: https://github.com/madpink/couchdb4livecode Re curl, allow me to recommend httpie. For quite some time now I've been using httpie as an alternative to curl or wget. It has a much more intuitive (IMO) commandline syntax and is much mor...
by mwieder
Tue Oct 03, 2017 4:37 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How can I make a PUT request to an API framework
Replies: 11
Views: 574

Re: How can I make a PUT request to an API framework

MaxV- Yes, the authentication transaction uses an http POST command, but other rest endpoints in the api require a PUT. You have indeed confirmed that LC works with arangoDB, but the http syntax for various endpoints differ, i.e., creating a new user is a POST request, granting access is a PUT reque...
by mwieder
Sun Oct 01, 2017 6:20 pm
Forum: LiveCode Builder
Topic: LCB still missing much functionality
Replies: 4
Views: 253

Re: LCB still missing much functionality

Aha! You can't have constants declared inside handlers.
It works if I declare the constant at the root of the script.

Stupid parser.
This is really needing something better than "Syntax Error".
by mwieder
Sun Oct 01, 2017 4:25 pm
Forum: LiveCode Builder
Topic: LCB still missing much functionality
Replies: 4
Views: 253

Re: LCB still missing much functionality

I thought by now we'd be able to define constants. No, we are able. constant <kName> is <value> -- string, number, list, array, boolean, ... Hmmm... I get the dreaded "Syntax Error" for constant kSections is "1,2,4,8,16" There's no "exit handler" function? No, essentially we have. Simply return fro...
by mwieder
Sun Oct 01, 2017 4:03 am
Forum: LiveCode Builder
Topic: LCB still missing much functionality
Replies: 4
Views: 253

LCB still missing much functionality

Coming back into LCB after being away for a while... it's still pretty dismal in LC9dp9: There is still no switch statement, so I'm ending up with multi-stage, multi-level if/else-if statements that are on the edge of readability. I know it was a conscious decision *not* to have a switch statement, ...
by mwieder
Thu Sep 28, 2017 4:16 pm
Forum: Talking LiveCode
Topic: about 'local X = empty' statement
Replies: 12
Views: 544

Re: about 'local X = empty' statement

bug or not bug and adding to this that the Script Editor is a bit silent,;
this is a real pain, for starters or not :twisted:
Yep. No argument from me on that account.
by mwieder
Thu Sep 28, 2017 1:06 am
Forum: Talking LiveCode
Topic: about 'local X = empty' statement
Replies: 12
Views: 544

Re: about 'local X = empty' statement

As noted in the comments to but 19413, this isn't actually a bug, but the confluence of a few things. For starters, while assigning values to local variables at declaration time is not officially forbidden, it's not officially condoned either. The engine treats this the same way it treats assignment...
by mwieder
Thu Sep 28, 2017 12:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How can I make a PUT request to an API framework
Replies: 11
Views: 574

Re: How can I make a PUT request to an API framework

dbcbos- Sorry to come in late to this topic... I don't spend that much time in the forum. You're using the wrong syntax if you want to issue a PUT. Your syntax of put URL tURL into tContent issues an http GET command, and translates to GET url(tURL) ; put it into tContent instead try put tContent in...
by mwieder
Thu Sep 28, 2017 12:23 am
Forum: Off-Topic
Topic: Flat UI Design...Anyone else catch this article?
Replies: 4
Views: 699

Re: Flat UI Design...Anyone else catch this article?

Ah. Thanks for the links. Yeah, that's the way I feel looking at the 'new' monochromatic LC menubar and tools palette - a bandwagon with a flat tire. And the Property Inspector has always had a flat look, but it could use an injection of sexy itself. ...and don't get me started on the Project Browser.
by mwieder
Sat Aug 12, 2017 3:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using the Switch and Case control structure? - Solved
Replies: 14
Views: 670

Re: Using the Switch and Case control structure? - Solved

Craig-

no changes to LiveCode necessary - here's what your code doing what you want

Code: Select all

switch
  case 1 < 2
    doThis
  case 1 < 1000
    doSomethingElse
    break
  case 2 < 1
    doThat
end switch
by mwieder
Thu Jul 27, 2017 4:34 pm
Forum: Feature Requests
Topic: "Hide Others" in Mac version
Replies: 8
Views: 647

Re: "Hide Others" in Mac version

Well, waddaya know... turns out it was in the LC engine, not in the IDE files.

fix is on the way.

https://github.com/livecode/livecode/pu ... 2642d47d44
by mwieder
Sat Jul 22, 2017 9:28 pm
Forum: Feature Requests
Topic: "Hide Others" in Mac version
Replies: 8
Views: 647

Re: "Hide Others" in Mac version

As Klaus mentioned, that's the operating system at work. There's nothing in LiveCode that inserts that menu item.
As to why it's showing up lowercase, I don't have a clue.
by mwieder
Thu Jul 20, 2017 7:07 pm
Forum: Off-Topic
Topic: erratic IDE layout behavior with multiple monitors
Replies: 5
Views: 979

Re: erratic IDE layout behavior with multiple monitors

I wouldn't go so far as to say the current situation is unusable, but it's certainly erratic.
Even something like setting the backdrop - sometimes it's on the main monitor, sometimes the other.
by mwieder
Thu Jul 20, 2017 7:03 pm
Forum: Feature Requests
Topic: Textured Backdrops
Replies: 15
Views: 1167

Re: Textured Backdrops

Sadly (or not) I can only get solid color backdrops on linux.
by mwieder
Mon Jul 10, 2017 8:02 pm
Forum: Linux
Topic: Livecode 8 linux installer package (DEB, RPM)
Replies: 29
Views: 2701

Re: Livecode 8 linux installer package (DEB, RPM)

Ideally the distro *shouldn't* have anything to do with the menu placement.
Possibly I have something weird in my cinnamon configs.

Go to advanced search