Search found 426 matches

by AxWald
Thu Jun 25, 2020 8:47 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Date Formatting
Replies: 7
Views: 463

Re: Date Formatting

Hi,

you may want to search the dictionary for "month". You'll find "function monthNames".

Code: Select all

   put line 2 of the monthNames
   --> "February"
Have fun!
by AxWald
Sun Jun 14, 2020 2:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Open Source vs. Closed
Replies: 3
Views: 263

Re: Open Source vs. Closed

Hi, I don't exactly understand what this means. Let's say I compile a project in Community Edition. How would someone then view my code? Quick answer: Not at all, if you don't provide the source code. Compiled stacks (= StandAlones, as well as included substacks) always are binary files & thus not e...
by AxWald
Sun Jun 14, 2020 2:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Difficult find and replace problem (for me)
Replies: 36
Views: 1732

Re: Difficult find and replace problem (for me)

Hi, RegEx ever was beyond my limited scope. Too much hermetic symbols to remember, too rigid a syntax, too enigmatic the code - too many possibilities to completely "fraggle up", for an old coder with average brain like me, at least. "Offset()" on the other hand is a thing of sheer beauty - simple, ...
by AxWald
Tue Jun 09, 2020 8:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: linear search
Replies: 6
Views: 341

Re: linear search

Hi, another approach. A mouseUp & a function: on mouseUp put 45 into myArr[0] -- snip - here be the remaining entries :) put 11 into myArr[19] ask "Search what?" if it is empty then exit mouseUp else put it into myNum end if put searchArr(myNum,myArr) into myVar -- see function below if myVar is emp...
by AxWald
Sat Jun 06, 2020 7:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading and writing to a text file
Replies: 14
Views: 768

Re: Reading and writing to a text file

Bogs, another example for "open file": You're processing phat data, line- wise, using an output variable: repeat for each line L in myData put "'" & item 5 of L & "'" & tab & round(item 11 of L,2) & tab & ... & CR after myVar end repeat It's easy, fast & cozy - until myVar reaches a certain size. Th...
by AxWald
Tue May 26, 2020 4:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 769

Re: Using CSV as reference file

Hi, The file contains up to 18,000 records, so looping thru this file to find values is sub-optimal. Really? A button to read 'em all: on mouseUp answer file "What file?" if it is empty then exit mouseUp put URL ("file:" & it) into myVar put the millisecs into t1 -- we got data, start timer! delete ...
by AxWald
Mon May 11, 2020 12:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Font flavours not rendering
Replies: 4
Views: 353

Re: Font flavours not rendering

Hi, it seems that, over the years, something has changed with fonts that LC didn't kept up with - the fonts where not all font faces are combined in 1 file anymore. (Or is it only a change in Win10?) "Roboto" is such a "new font" that behaves oddly (as do many from fonts.google.com, no matter if .tt...
by AxWald
Mon May 11, 2020 9:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Update SQL Query (Resolved)
Replies: 12
Views: 868

Re: Update SQL Query

Hi, Don't name your variables like your db fields. If you want to use a variable explicitly for a db field "dishname", call it "tdishname" or "mydishname" or thedishname" or such. This will save you a lot of headache. . Clean up your quote characters, you only use 3 of then: ' - single quotes: to qu...
by AxWald
Sun May 10, 2020 3:11 pm
Forum: CGIs and the Server
Topic: LC server install on a shared host without root
Replies: 3
Views: 608

Re: LC server install on a shared host without root

Hi, well, it's not my server - it's one of my customers. And we'll stay with allInkl - these are production systems, and a lot of ppl are depending on it to earn their bread. This provider so far has proven as: Highly reliable (nearly 100% uptime during the recent years) Very quick support response ...
by AxWald
Sun May 10, 2020 2:42 pm
Forum: Databases
Topic: mySQL install: which password setting works with LC
Replies: 4
Views: 505

Re: mySQL install: which password setting works with LC

Hi, cannot do any tests (don't have local mySQLs & those remote ones I use are not to be fiddled with ...), but as I see it & read the docu there shouldn't be a problem as long as you only use passwords to connect, and not the "PASSWORD()" function: If you [...] run the server under conditions where...
by AxWald
Sun May 10, 2020 1:27 pm
Forum: CGIs and the Server
Topic: LC server install on a shared host without root
Replies: 3
Views: 608

LC server install on a shared host without root

Hi all, I finally did it - after untold frustrating attempts I finally got my first: Hello World! 12:01 PM from an LC server. My problem was that I'm on a shared server (allinkl.com), and have no access to the apache configuration & only limited access to the file system, so most of the advises give...
by AxWald
Fri May 08, 2020 3:07 pm
Forum: Android Deployment
Topic: Creating Apps for use on Android mobile phones
Replies: 67
Views: 5426

Re: Creating Apps for use on Android mobile phones

Hi, 1. What is preventing the .apk from being installed on to my Android Smartphone (either my project or the unaltered SQLiteAndroidDemo? Probably the StandAlone Settings. I tried the stack with "Development/ Test" (see sphere's post above), and so didn't need to install. Additionally I see that I ...
by AxWald
Tue May 05, 2020 1:13 pm
Forum: Android Deployment
Topic: Creating Apps for use on Android mobile phones
Replies: 67
Views: 5426

Re: Creating Apps for use on Android mobile phones

Hi, There must definitely be a problem within my script. I have made so many different amendments that I am slightly loosing the thought process. Hehe, this is all but unknown to me. It's usually when I start to delete perfectly good code to solve a problem that hides somewhere else ... A good way t...
by AxWald
Sun May 03, 2020 2:49 pm
Forum: Android Deployment
Topic: Creating Apps for use on Android mobile phones
Replies: 67
Views: 5426

Re: Creating Apps for use on Android mobile phones

Ooops. "membershipdatabase. db "? This doesn't look like SQLite. What's that? AFAIK it's a generic extension that can contain anything - what connection type you're using? I just assumed you'd use SQLite - local on Android it seemed obvious ... If it's actually a SQLite try to rename it to "membersh...
by AxWald
Sun May 03, 2020 11:47 am
Forum: Android Deployment
Topic: Creating Apps for use on Android mobile phones
Replies: 67
Views: 5426

Re: Creating Apps for use on Android mobile phones

Ooops, forgot: Jacqueline provided some nice infos for mobile debugging some time ago, and this gave me some ideas. So I'll provide my basic Android debugging tools here. They are raw, buggy & unpolished, but nevertheless they have proven quite useful rather often ;-) Put this into your stack script...

Go to advanced search