Search found 4323 matches

by richmond62
Tue May 26, 2020 7:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 480

Re: What happen the stack handlers "Open" and "PreOpen"?

Screenshot 2020-05-26 at 21.57.08.png
-

Code: Select all

on preOpenStack
   put "preOpenStack fired" into fld "ff"
end preOpenStack

on openStack
   put "openStack fired" into fld "gg"
end openStack
All seems as it should be in 9.6.0 rc-2
by richmond62
Tue May 26, 2020 7:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 480

Re: What happen the stack handlers "Open" and "PreOpen"?

Mind you; to be fair, startup is 'there' in the LC 8.1.10 Documentation. 8)
by richmond62
Tue May 26, 2020 7:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 480

Re: What happen the stack handlers "Open" and "PreOpen"?

OK: you got me there: looking in cardScript . :? Indeed: no sign in the stackScript . And, Yes: never seen this before: - Screenshot 2020-05-26 at 21.46.36.png But "there it is" in the Documentation: - Screenshot 2020-05-26 at 21.48.49.png - It does appear rather more restricted than openStack or pr...
by richmond62
Tue May 26, 2020 7:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 467

Re: Using CSV as reference file

Could not resist.
Fantastic! :D
by richmond62
Tue May 26, 2020 7:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 480

Re: What happen the stack handlers "Open" and "PreOpen"?

Indeed.
-
Screenshot 2020-05-26 at 21.29.50.png
-
9.6.0 rc-2 Community

MacOS 10.15

openStack and

preOpenStack both 'there'.
by richmond62
Tue May 26, 2020 3:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 467

Re: Using CSV as reference file

Wow - richmond62, thanks for your efforts here. The 'key' I want from the data is in the 'postcode' field (column 2) in the spreadsheet. The other fields I need are in columns 3,4 & 11 (locality, state, sa3name). Knowing 'that' the whole procedure can be shortened, and a list field can be produced ...
by richmond62
Tue May 26, 2020 10:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 480

Re: What happen the stack handlers "Open" and "PreOpen"?

They just don't work, while preOpen and open in a card do.

Err . . . possibly the LiveCode 'thang' has become so complicated that loading
it into the memory means there is some sort of problem with doing stuff before the stack is displayed on screen.
by richmond62
Tue May 26, 2020 10:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 467

Re: Using CSV as reference file

The file contains up to 18,000 records, so looping thru this file to find values is sub-optimal. You're telling me! 8) I don't think you need to LOOP through the file, but you do need to READ through the comma-delimited items in the file after it has been processed in the way I have demonstrated. T...
by richmond62
Tue May 26, 2020 9:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What happen the stack handlers "Open" and "PreOpen"?
Replies: 22
Views: 480

Re: What happen the stack handlers "Open" and "PreOpen"?

Every time I have used preOpenStack and openStack they have not worked very well, so now
I tend to go for preOpenCard and openCard. 8)
by richmond62
Tue May 26, 2020 9:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 467

Re: Using CSV as reference file

If that is what you mean . . . - Screenshot 2020-05-26 at 11.40.42.png - button REMOVE QUOTES & FIRST LINE & REORDER on mouseUp put empty into fld "PROC1" put empty into fld "KOUNT2" put fld "prePROC" into rawDDD repeat until char 1 of rawDDD is "&" add 1 to fld "KOUNT2" if char 1 of rawDDD is quote...
by richmond62
Tue May 26, 2020 9:27 am
Forum: Educational Outreach
Topic: e-learning
Replies: 2
Views: 3252

Re: e-learning

My problem is with kids pretending to be attending a Zoom session:
-
ZOOOM.jpg
by richmond62
Tue May 26, 2020 9:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 467

Re: Using CSV as reference file

The 'key' (that I need) to the CSV file is in the 2nd field (column). I don't think I understand that: as my Granny said, "A picture is worth a thousand words." :D - Screenshot 2020-05-26 at 11.08.49.png - If you could download that picture and mark the key I think things would be easier. Do you me...
by richmond62
Tue May 26, 2020 9:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 467

Re: Using CSV as reference file

At the risk of being offensive I have cut that enormously long CVS file down to 10 lines:
australian_postcodes_cutshort.csv.zip
(1.04 KiB) Downloaded 1 time
This leaves us with something manageable for development.
by richmond62
Tue May 26, 2020 8:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 467

Re: Using CSV as reference file

Introduced a COMBO button: on mouseUp answer file "Choose a CSV file to import" if the result = "cancel" then exit mouseUp else put URL ("file:" & it) into rawDDD put "&&&" after rawDDD end if ------------- put empty into fld "KOUNT2" put empty into fld "PROC1" repeat until char 1 of rawDDD is "&" a...
by richmond62
Tue May 26, 2020 7:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using CSV as reference file
Replies: 17
Views: 467

Re: Using CSV as reference file

I am a pain in the bum because I tend to write in these reply boxes as I try things out. 1. It has 14 columns, of which only 4 are of interest to me. Which 4? The first, the last, 4 distributed in some odd fashion through each row? 2. Import the CSV file as a text file and strip out the double quote...

Go to advanced search