Alternative to Livecode dictonary

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Locked
MarcVanCauwenberghe
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 142
Joined: Thu Feb 21, 2013 8:47 am

Alternative to Livecode dictonary

Post by MarcVanCauwenberghe » Thu Aug 22, 2013 7:06 pm

Hi,

The dictionary been mentioned in the lesson. It is one of the best ways to learn the syntax. A good alternative to Livecode's
dictionary is http://www.bjoernke.com/?target=bvgdocu with build in full text search and more. I use it all the time.
The added bonus is that it is a stack. You can look at the source code and it is based on sqlite.

Best regards,
Marc

EOTR
Posts: 49
Joined: Fri Aug 09, 2013 7:20 pm

Re: Alternative to Livecode dictonary

Post by EOTR » Thu Aug 22, 2013 9:58 pm

Thanks Marc!

This does make the dictionary database a little more useable. Its organized in a way that I can peruse the "Topics" based on what I'm trying to do.

My problem with the dictionary is I can't search for something if I don't know what I'm looking for. I've been randomly poking around and reading through it in hopes of coming up with useful knowledge that I may need later. This stack should help me find things I actually do need right away. Much appreciated!

thanks, Henry

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: Alternative to Livecode dictonary

Post by BvG » Fri Aug 23, 2013 12:19 pm

Remember that I'm available if there's any questions or comments :)
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Alternative to Livecode dictonary

Post by Simon » Fri Aug 23, 2013 6:15 pm

Yes Björnke,
I have a question.

Can your dictionary be built as a standalone? Would be very handy.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: Alternative to Livecode dictonary

Post by BvG » Fri Aug 23, 2013 7:37 pm

Everything can be done :P

The stack currently checks in what IDE version it is running, and if it doesn't find the relevant function "revappVersion()", then it assumes it's running in Metacard (see the openstack handler in the main stack). So make sure you (or the automatic build thingy) includes the standardLib stuff. And of course SQLite. Obviously it needs that too. When run as a standalone, no checks are made, and it's assumed that the stack was previously properly set up.

So basically a standalone should "just work". To make sure i tested it right now in 6.0.2 on mac os x. This is what i did:
  1. make sure to have a properly set up working bvg docu stack (if entries show up while you type, you're good)
  2. message box: set the style of stack "bvg docu 2" to toplevel
  3. make sure to built for your current OS in the "standalone application settings" ("file" menu) as well as using "automatic inclusion"
  4. from the menu file: "save as standalone application"
  5. check if standalone works
Note that the executable is in a sense not a "standalone", as it still accesses the db that is installed in your user stack folder, and therefore it would make no sense to transfer the app to other computers. To change that you'd need to edit the open stack script of the main stack (where it says if the environment = "development").
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Alternative to Livecode dictonary

Post by Simon » Fri Aug 23, 2013 9:30 pm

It's working on desktop!
Great great great! :)

Thanks Björnke,

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7258
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Alternative to Livecode dictonary

Post by jacque » Sat Aug 24, 2013 7:00 pm

BvG wrote:The stack currently checks in what IDE version it is running, and if it doesn't find the relevant function "revappVersion()", then it assumes it's running in Metacard
A while back, the MetaCard IDE implemented revAppVersion for compatibility. It returns zero, so now you can check the IDE using:

if revAppVersion() = 0 then -- it's MetaCard
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: Alternative to Livecode dictonary

Post by BvG » Sat Aug 24, 2013 8:32 pm

look at the code before you criticise it (tho i could have worded that differently) :P
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Locked

Return to “Summer School 2013”