Re: Linux software suggestions

2015-09-20 Thread Peter TB Brett
Hi Andy,

I very strongly recommend running 64-bit LiveCode on Linux. Because of the 
x86-64 architecture's larger number of registers (among other things), we've 
noticed a speed increase of up to 20% with x86-64 LiveCode, relative to x86 
LiveCode running on the same hardware and Linux kernel.

Peter

On 20 September 2015 09:52:29 BST, AndyP  wrote:
>I'm about to turn a Dell 5150 which is sitting collecting dust into my
>very
>first Linux based machine!
>
>This will be an open source software only machine.
>
>I've always been Windows based so have decided to go for Mint with
>Cinnamon
>distro as it looks like it will be easier for me to transition too.
>
>Apart from LiveCode Community what others Open source software would
>those
>of you who are Linux based recommend?
>
>E.g. best email client, office suite, ftp client, graphics prog,
>browser,
>etc..etc..
>
>Also how is LiveCode doing with 64bit Linux, any problems or parity
>issues?
>
>Looking forward to your suggestions :-)
>
>
>
>
>-
>Andy Piddock 
>
>
>My software never has bugs. It just develops random features. 
>
>Copy the new cloud space, get your free 15GB space now:
>Get Copy 
>
>
>Script editor Themer for LC http://2108.co.uk  
>
>PointandSee is a FREE simple but full featured under cursor colour
>picker / finder.
>http://www.pointandsee.co.uk  - made with LiveCode
>--
>View this message in context:
>http://runtime-revolution.278305.n4.nabble.com/Linux-software-suggestions-tp4696462.html
>Sent from the Revolution - User mailing list archive at Nabble.com.
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Localizing the Menubar on OsX (Help menu)

2015-09-20 Thread Malte Brill
Hi Richmond,

thanks for the reply. I am running on a german language install of Os X. :-)

What is so puzzling is that the button in the menubar only does its magic when 
its LABEL is Help, which IMHO makes no sense at all. It would make more sense, 
if the German.lproj folder contained in the standalone bundle would affect the 
behaviour of the labeling, as it does with About and a couple of other strings, 
but it does not. :-( Looking inside that folder there is a text file containing 
a couple of instructions:

File Localization.strings in app/content/resources/German.lproj

/* Format string such as About %@" */
"appMenu.about" = "Über %@";

/* Format string such as Hide %@ */
"appMenu.hide" = "%@ ausblenden";

/* Hide Others */
"appMenu.hideOthers" = "Andere ausblenden";

/* Preferences */
"appMenu.preferences" = "Einstellungen …";

/* Format string such as Quit %@ */
"appMenu.quit" = "%@ beenden";

/* Services */
"appMenu.services" = "Dienste";

/* Show All */
"appMenu.showAll" = "Alle einblenden";

But nothing for „Help“ in there...


All the best,

Malte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Localizing the Menubar on OsX (Help menu)

2015-09-20 Thread Malte Brill
Hi friends. I am seriously puzzled. I got a menubar with a Help button. To 
localize this and make it appear as „Hilfe“ on german systems I am setting the 
label of that button. What now puzzles me is that the menu behaves differently 
according to the label of that button (not the name, which I could somewhat 
understand). If the label is „Help“ then I am getting the Os X Yosemite help 
with the search box on top. If however the label of that button changes to 
something else, it acts like not being one of the special menus, no search box 
on top…

What gives???

How am I supposed to correctly localize then? I looked at the German.lproj 
folder, but there are only a few strings in there, not Help….

Can someone enlighten me here?

All the best,

Malte


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Linux software suggestions

2015-09-20 Thread Richmond

On 09/20/2015 11:52 AM, AndyP wrote:

I'm about to turn a Dell 5150 which is sitting collecting dust into my very
first Linux based machine!

This will be an open source software only machine.

I've always been Windows based so have decided to go for Mint with Cinnamon
distro as it looks like it will be easier for me to transition too.


Well, personally I prefer Xubuntu as I have had a few major upsets with 
Cinnamon.


Apart from LiveCode Community what others Open source software would those
of you who are Linux based recommend?

E.g. best email client, office suite, ftp client, graphics prog, browser,
etc..etc..


1.  Thunderbird e-mail client: https://www.mozilla.org/en-US/thunderbird/

2.  LibreOffice 5: https://www.libreoffice.org/download/libreoffice-fresh/

3.  I only use an ftp client on an ancient Macintosh: sorry.

4.  GIMP for bitmap: http://www.gimp.org/

 Inkscape for vectors:  https://inkscape.org/en/

5.  Firefox browser.

6.  VLC for all video files.

7.  Transmission for torrents.

8.  Ubuntu Tweak for cleaning out the basement (works on all Debian 
deriv. distros): http://ubuntu-tweak.com/


9.  Simple Scan for . . . wait for it . . . scanning.


Also how is LiveCode doing with 64bit Linux, any problems or parity issues?

Looking forward to your suggestions :-)




Have a lovely time!

Richmond.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux software suggestions

2015-09-20 Thread Peter Alcibiades
In desktops Mate for something familiar, and its what gnome used to be before
they wrecked it, but fluxbox is the best if you want it very fast,
functional and surprisingly well featured.  Gnome and KDE seem to be
competing which can make the most unusable desktop, so neither one of them.  

I have given up on tlling window managers but i3 is said to be the best if
you like them.  

Calibre for ebooks with the apprenticealf plugins.  fbreader as a reader.

mupdf to read pdfs, pdfshuffler to cut paste and split them.  Evince is ok
but slower than mupdf, but with more features.

audacity for audio, but if you want to clip cut concatenate or change
format, ffmpeg from the terminal

grep to find files by content

mpyst for youtube playing and downloads

for email, claws.  Small, fast, stable.  Kmail was great but they trashed
it.  Evolution is OK but bloated.  The problem with thunderbird is its file
formats (see mork in wikipedia).  Exporting from evolution or kmail is not
much fun either.

finding duplicates:  fslint

Yes, libreoffice.  Yes to vlc also.

Learn how to use pipes in the terminal.  Generally to get the extra from
Linux you need to use the terminal.  You can do it all in the gui packages
but you miss two thirds of what is there for the looking.  It will look like
Windows, and that's fine as far as it goes, but there is far more.

spacefm for a file manager

cherrytree for notes, its what kjots used to be before they wrecked it.

People start in all kinds of distros, but Debian is where you will end up if
you stick with it.

Awk.  I guess its primitive Perl, but it works wonderfully if you need to
hack text around, which don't we all at some point.  Sed has its points as
well.

Peter



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Linux-software-suggestions-tp4696462p4696475.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux software suggestions

2015-09-20 Thread AndyP
Thanks for all the suggestions and advise.

I've got a sneaking suspicion that the processor in the oldie 5150 maybe 32
bit only as it was in a former life an XP workhorse which was unable to be
upgraded to Win 7!!!

I will be installing Mint tomorrow and will let you know how I get on.



-
Andy Piddock 


My software never has bugs. It just develops random features. 

Copy the new cloud space, get your free 15GB space now:
Get Copy 


Script editor Themer for LC http://2108.co.uk  

PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Linux-software-suggestions-tp4696462p4696478.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux software suggestions

2015-09-20 Thread Richard Gaskin

AndyP wrote:


I'm about to turn a Dell 5150 which is sitting collecting dust into my very
first Linux based machine!

This will be an open source software only machine.

I've always been Windows based so have decided to go for Mint with Cinnamon
distro as it looks like it will be easier for me to transition too.

Apart from LiveCode Community what others Open source software would those
of you who are Linux based recommend?


I use Ubuntu, initially because it's what my customers were using when 
they were asking for a Linux version of one of my apps.  Over time I've 
come to appreciate that it's the most popular desktop distro, so as a 
developer I find that comforting.   But over time I've met many of the 
people who make it, so using it feels like something made by friends, 
like having a neighbor bring over a loaf of fresh-baked bread.


But that's the beauty of Linux:  it's all made my friends, people who 
are for the most part easily reachable, and by the nature of their work 
predisposed to sharing. And the work is done within project structures 
where you can lend a hand if you're so inclined, in just about any way 
that matches your skill set, not just code but also design, docs, and 
more - just as we're beginning to do in the LiveCode community.


Mint is also a great distro, and Cinnamon gets consistently good 
reviews.  Hard to go wrong there.  That's another great thing about 
Linux:  so many different flavors, with so many different options for 
setting it up, that everyone gets exactly what they want.




E.g. best email client, office suite, ftp client, graphics prog, browser,
etc..etc..


For email I switched to Thunderbird a decade ago, back when my work was 
done almost exclusively on Mac.  It's available for Windows and Linux 
too, and uses the same standards-based mbox format on all three 
platforms so you can move your email from OS to OS easily if you need to.


Office suite:  LibreOffics, hands down.  It's a fork of Open Office 
(after Ellison bought Sun and starting creeping people out with this 
FOSS management), and today has far more contributors than Open Office. 
 LibreOffice is a great package, pre-installed with Ubuntu and probably 
with Mint as well.  And you're in good company:  the most recent 
large-scale convert to LibreOffice is the Italian Ministry of Defense, 
who just moved 150,000 desktops from Microsoft Office to LibreOffice:



FTP: FileZilla.  Annoying UI in some respects, but also configurable to 
become much more useful and cleaner than its default layout.


Graphics:  GIMP is a truly great tool, more than capable of handling the 
needs of probably 90% of Photoshop users if only they'd earnestly give 
it a try.


A relative newcomer to Linux graphics is Krita - gorgeous UI, probably 
closer to Painter in its focus than to Photoshop, well worth exploring.


For vector graphics try Inkscape.  I've met the lead dev at the SoCal 
Linux Expo, a hard-working yet humble man who's put some wonderful 
capabilities into the package, with a strong following keeping it 
growing nicely.  Like GIMP it's also available for OS X and Windows, so 
you can use one format on all platforms.


Browsers: Only IE and Safari are platform-specific.  Chrome, Firefox, 
Opera, Dolphin and others are multi-platform.  Use whatever you enjoy. 
I split my time between Chrome and Firefox myself.


Text Editing:  Lately I've gone back to Geany, but my needs are modest 
enough that I'm considering pulling a half-baked text editor I started 
in LiveCode out of the archives to see if I can find time to flesh that 
out into a usable state as well (it'd be nice to have one editor for LC 
desktop, LC Server, JavaScript, HTML, bash, and more, all in one tidy 
simple package that works exactly as I want it to).  But there are many 
available, and no matter which GUI one you use there's good reason to 
explore at least Nano for editing files on remote servers, or learning 
vim or emacs if you have time.  But don't be ashamed of using the humble 
Nano, it's a decent command-line editor with a close-to-zero learning curve.




Also how is LiveCode doing with 64bit Linux, any problems or parity issues?


Yes, 64-bit for all the reasons others have noted here.


Please keep us posted on how your Linux explorations go.  Part of the 
reason I got started with Linux was to shake the cobwebs out of my head 
after spending too many decades with just one OS, a chance to think 
really different.  I hope you find your Linux adventure as rewarding.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to 

RE: LiveCode for the rest of us

2015-09-20 Thread Ralph DiMola
+1

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Mark Wieder
Sent: Friday, September 18, 2015 9:20 PM
To: How to use LiveCode
Subject: Re: LiveCode for the rest of us

On 09/18/2015 04:40 PM, Peter Haworth wrote:

> I guess I'm going to have to find time to get SQLMagic finished ( 
> http://www.lcsql.com/sqlmagic.html).

Yes, please.

--
  Mark Wieder
  ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SQL Select... the last 10 records from a table ?

2015-09-20 Thread Roger Eller
Sort descending, and still SELECT TOP 10.
On Sep 20, 2015 8:59 AM, "John Dixon"  wrote:

> I understand how to select, say the top 10 records in a table... What
> would the best way to select the last 10 records from a table ?
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: SQL Select... the last 10 records from a table ?

2015-09-20 Thread Roger Eller
My SQL buddy also adds, "It all depends on what the SELECT is being
ORDER'ed BY; typically a date time stamp.".
On Sep 20, 2015 9:39 AM, "John Dixon"  wrote:

> Thanks.. :-) I'll try that ...
>
> > Date: Sun, 20 Sep 2015 09:27:44 -0400
> > Subject: Re: SQL Select... the last 10 records from a table ?
> > From: roger.e.el...@sealedair.com
> > To: use-livecode@lists.runrev.com
> >
> > Sort descending, and still SELECT TOP 10.
> > On Sep 20, 2015 8:59 AM, "John Dixon"  wrote:
> >
> > > I understand how to select, say the top 10 records in a table... What
> > > would the best way to select the last 10 records from a table ?
> > >
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LiveCode for the rest of us

2015-09-20 Thread Roland Huettmann
First of all, thank you all for replies ), to Todd, Mark, Tim, Richard ...
I really appreciate and I agree.

Dear Hugh, thank you indeed for your offer of FieldFormatter.

www.flexiblelearning.com/fieldformatter


Is there a way to test before purchase? Does it really allow to separate
underlying data entered by users and through scripts from display? Would a
simple function such as "put field A + field B into field C" be supported
even if in the display there are thousands separators and a decimal comma ?

Would it allow easy filtering of user input as well?

In Germany the decimal point is a comma, and the thousands separator a dot.
In Switzerland with same written language it is the other way around, and
usually the thousands separator is a high comma. And I am not even speaking
of the ambiguous data formats in various other countries.

I worked around formatting fields through scripts, putting underlying
values into custom properties. But then I have to set and get such
properties instead of simply referring to a field as such by name or id or
number. There should be a way to do this automatically and behind the wall.
Maybe FieldFormatter is doing this?

It would be very very good to also have support for fields in the data grid
because they should display data in the local format. Should they not? And
data there is also used, and not just displayed. But maybe we will
hopefully see a more versatile data grid soon supporting a user friendly
way of applying visual components and multi media in an easier way. And it
should allow field content formatting of course as in Excel or FM Pro.

Or would it be possible to have a new field object and data grid as widgets
which would behave the way we need extending the possibilities for a better
user interface and usability.

I would also love to see a calculation field updating itself automatically
as in Excel or Filemaker.

Since this is so basic - I would prefer to have it as part of the engine or
as part of at least a basic framework around it.

---

A side question: Is there a way to hilite the content of a field hiliting
all the area inside the field boundaries? Fields in Filemaker are hilite
this way. And it looks just better than just a text-only hilite as in
LiveCode

---

And Peter Hayworth, I am really and naturally interested in your offer for
sqlMagic.

http://www.lcsql.com/sqlmagic.html

Again to repeat my dreams, I am dreaming of something like Filemaker
incorporated into LiveCode - and I am sure there is a huge market out
there.

There should be an editor to define databases tables and relationships.
There should be an editor to define database columns/fields. There are
database fields which would automatically link to the underlying database
(remote or local) including basic menus for navigation.

There is a local database which easily could be synchronized with a remote
one, or a peer-to-peer network could be established exchanging such data.

Basically all that Filemaker provides could be supported from within
LiveCode plus so much more.

Filemaker is more or less a closed shop. LiveCode would just be an open
market. (And there is a potential for a revenue stream generated as this is
necessary for the mothership and developers and extension builders,
template designers and whoever else could provide add-ons..)

Probably these new LiveCode 8 with widgets and libraries will be of great
help.

I know, this is a major task. (I am even thinking of raising a big enough
budget for that from investors.)

Roland
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Localizing the Menubar on OsX (Help menu)

2015-09-20 Thread Paul Dupuis
On 9/20/2015 5:37 AM, Malte Brill wrote:
> Hi friends. I am seriously puzzled. I got a menubar with a Help button. To 
> localize this and make it appear as „Hilfe“ on german systems I am setting 
> the label of that button. What now puzzles me is that the menu behaves 
> differently according to the label of that button (not the name, which I 
> could somewhat understand). If the label is „Help“ then I am getting the Os X 
> Yosemite help with the search box on top. If however the label of that button 
> changes to something else, it acts like not being one of the special menus, 
> no search box on top…
>
> What gives???
>
> How am I supposed to correctly localize then? I looked at the German.lproj 
> folder, but there are only a few strings in there, not Help….
>
> Can someone enlighten me here?

There was a definite change in the Help and About menu behaviors from
LC665 to LC67x. See http://quality.runrev.com/show_bug.cgi?id=15704 and
http://quality.runrev.com/show_bug.cgi?id=15710
This was probably related to the change from Carbon to Cocoa between
those LC releases.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

SQL Select... the last 10 records from a table ?

2015-09-20 Thread John Dixon
I understand how to select, say the top 10 records in a table... What would the 
best way to select the last 10 records from a table ?
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: SQL Select... the last 10 records from a table ?

2015-09-20 Thread John Dixon
Thanks.. :-) I'll try that ...

> Date: Sun, 20 Sep 2015 09:27:44 -0400
> Subject: Re: SQL Select... the last 10 records from a table ?
> From: roger.e.el...@sealedair.com
> To: use-livecode@lists.runrev.com
> 
> Sort descending, and still SELECT TOP 10.
> On Sep 20, 2015 8:59 AM, "John Dixon"  wrote:
> 
> > I understand how to select, say the top 10 records in a table... What
> > would the best way to select the last 10 records from a table ?
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
  
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux software suggestions

2015-09-20 Thread Mark Wieder

On 09/20/2015 01:52 AM, AndyP wrote:

I haven't run into problems with linux Mint 17 / cinnamon, but otherwise 
I agree with Richmond's recommendations. And Peter's to go with a 64-bit 
distro (whichever one you choose). You'll probably find that most of the 
software Richmond recommends is already installed, but if not, apt-get 
or the gui version (name escapes me at the moment) are quite easy to use 
to get new software and keep it up to date.


I do use FileZilla for ftp transfers, as it helps cut down on the number 
of things I need to keep in my head. I'd also recommend either the Atom 
text editor or Sublime Text (or both) as code editors. And I find 
Wireshark and VirtualBox absolutely indispensible, but I realize that 
not everyone needs either one.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode for the rest of us

2015-09-20 Thread Mark Wieder

Roland-

A few thoughts without in any way trying to detract or distract from 
your wonderful post:


FileMaker and LiveCode are different products aimed at different 
audiences. FileMaker is essentially a one-trick pony: it does an 
excellent job at providing an easy-to-use front end for database design 
and use, and probably does a better job at this than any other tool I've 
seen on the market. Ever. Its scripting language gives you the ability 
to string together predefined macros, and while these are mostly 
adequate for any database job you are constructing, you can't modify 
them or add new ones, so you sometimes end up with rather awkward 
constructions and tables that may not always be linked up in intuitive ways.


LiveCode, on the other hand, is designed to be a construction kit that 
provides an extensible toolbox for general-purpose applications. Some of 
the database functions require more work because LC isn't designed 
primarily as a database tool. It's also not designed to be a graphics 
tool, although it's possible to do some amazing graphics work in LC if 
you happen to be Scott Rossi. It's not a network tool, although for many 
tasks all the networking features are there. And on and on.


Yes, I'd love to have FileMaker-like database-aware controls in 
LiveCode. I'd love to have a lot of other things as well. Some of these 
are in progress, some can be added through third-party extensions, some 
need to wait for LiveCode Builder in LC8, some you may have to create 
yourself or wait for someone else to do it for you.


That said, I absolutely agree that LiveCode needs that out-of-the-box 
magic that hooked us all in the first place. Knowing that all that power 
is in there somewhere isn't enough. That initial Aha! spark is an 
empowering Maker moment and people need to experience it in their first 
brush with the environment.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Is it safe to return an array from a function?

2015-09-20 Thread Peter W A Wood
I understand that arrays are passed by reference in LiveCode not by value. I 
assume that is also that case if you return an array from a function (i.e. the 
reference to the array is returned not its content). When I tried to return an 
array from a function, I found that not only you can do so but multiple calls 
of the function provide different arrays. As the array being returned from the 
function is local to the function, I’m guessing that LiveCode is creating a new 
local array for each function call and returning a reference to the local 
variable.

Here is the code that I ran under LiveCode Server:

function returnArray
  local a
  put 1 into a[1]
  return a
end returnArray

put returnArray() into b
put b[1] & return   —> prints 1

put returnArray() into c
put c[1] & return   —> prints 1   

put 3 into c[1]

put b[1] & return   —> prints 1
put c[1] & return   —> prints 2

Is it safe to use such a technique or will the reference to the array become 
invalid at some stage?

Peter




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Printing

2015-09-20 Thread Peter Haworth
Trying printing via LC for the first time with no luck.

My handler is:

answer printer
revPrintText (the htmlText of field "Details"),(the htmlText of field
"Header")

There is data in both fields but I get no printed output. If I choose to
print to a pdf file in the answer printer dialog (this is OSX), the pdf
file ends up with zero bytes in it.

The examples in the User Guide and the dictionary seem to indicate this
should work.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux software suggestions

2015-09-20 Thread Peter Alcibiades
Text editor:  Geany, or from the terminal nano.



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Linux-software-suggestions-tp4696462p4696476.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Linux software suggestions

2015-09-20 Thread Peter TB Brett

On 2015-09-20 19:03, Peter Alcibiades wrote:

Text editor:  Geany, or from the terminal nano.



Nononono. Emacs.

Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit! 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode