Search found 1546 matches

by MaxV
Wed Dec 19, 2018 5:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Export CSV with carriage returns
Replies: 8
Views: 4504

Re: Export CSV with carriage returns

Hello! I need to export CSV from livecode, where in some cells I have data with carriage returns. I have no idea how to do it, for now when I export a CSV, the cell with CRs is splitted into separate columns / rows. Export using TAB as separator, then: set itemdel to tab repeat for each line tLine ...
by MaxV
Wed Dec 19, 2018 5:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Strategy to construct a Stack
Replies: 16
Views: 9692

Re: Strategy to construct a Stack

I am trying to plan what strategy I should use to create a sort of Database that keeps records of the buildings we have built. Each building would have basic information like Client, Cost, Number of Storeys etc. My first thoughts are the user would create a new card based on which building type the...
by MaxV
Fri Dec 14, 2018 7:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image in text and variables
Replies: 1
Views: 10069

Re: Image in text and variables

To store data, custom propertes are the best. If you need to store on disk, you could use an array and then put arrayEncode(myBigArray) into URL "binfile:whereILikeToStore" . See: https://livecode.wikia.com/wiki/Custom_properties https://livecode.wikia.com/wiki/Arrays https://livecode.wikia.com/wiki...
by MaxV
Fri Dec 14, 2018 7:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: coding for ARDUINO
Replies: 1
Views: 2095

Re: coding for ARDUINO

See this, there is the google translator button on top right): https://livecodeitalia.blogspot.com/201 ... ta_95.html
by MaxV
Fri Dec 14, 2018 7:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Arrow key bug in Livecode
Replies: 5
Views: 3666

Re: Arrow key bug in Livecode

What? That is very bad...
Where I should set it? It's a global property? Is it a card property? :?
by MaxV
Fri Dec 14, 2018 6:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Line graph widget Questions
Replies: 1
Views: 2146

Re: Line graph widget Questions

DavJans wrote:
Mon Aug 20, 2018 10:26 pm
Is there a way to control the y-axis? cap the high number, or set the increment numbers?
No
DavJans wrote:
Mon Aug 20, 2018 10:26 pm
Is there a way to have full line and dashed lines at the same time?
No
However you can create your graph, just use the drawing tools and group it.
by MaxV
Fri Dec 14, 2018 5:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading Binaries int8, int32 etc.
Replies: 4
Views: 4599

Re: Reading Binaries int8, int32 etc.

Uint in dictionary is not explained well. Please can yo write here what is it?
Is it int32 or 16 or else?
by MaxV
Wed Dec 12, 2018 7:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Pars XML for same TAG different LINE
Replies: 1
Views: 2094

Re: Pars XML for same TAG different LINE

For the second result you need to use this path /xml/teams[2].
Use https://livecode.wikia.com/wiki/RevXMLNextSibling :

Code: Select all

put revXMLNodeContents(connID, "/xml/teams/detail/teamName"  ) 
put revXMLNodeContents(connID, "/xml/teams[2]/detail/teamName"  )
It works!
by MaxV
Wed Dec 12, 2018 1:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading Binaries int8, int32 etc.
Replies: 4
Views: 4599

Re: Reading Binaries int8, int32 etc.

Int8: 1 byte Int16: 2 bytes Int32 : 4 bytes Int64 : 8 bytes So just use bytetonum this way: put bytetonum(byte myByteposition of myData) #int8 put 256 * bytetonum(byte myByteposition of myData) + bytetonum(byte (myByteposition - 1) of myData) # int16 put 256* 256* 256 * bytetonum(byte myBytepositio...
by MaxV
Mon Oct 22, 2018 12:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Code problem, or event problem?
Replies: 6
Views: 4798

Re: Code problem, or event problem?

I put the code in the card.
by MaxV
Thu Oct 11, 2018 9:47 pm
Forum: Talking LiveCode
Topic: revCursors magically attaches to my stacks
Replies: 21
Views: 16270

Re: revCursors magically attaches to my stacks

Oh no, the solution proposed doesn't work anymore, I got:

Code: Select all

Message execution error:
Error description: Chunk: can't find stack
Hint: 
Both stacks exists (mainstack to save and revCursors)
by MaxV
Thu Oct 11, 2018 9:44 pm
Forum: Talking LiveCode
Topic: revCursors magically attaches to my stacks
Replies: 21
Views: 16270

Re: revCursors magically attaches to my stacks

It happen to me too.
I was using more than 100 queries with revDatabaseColumnNamed and I didn't close the cursors.
Maybe this is the issue.
by MaxV
Tue Oct 02, 2018 2:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Code problem, or event problem?
Replies: 6
Views: 4798

[SOLVED] Code problem, or event problem?

Hello, I'm trying to create a snake game in livecode, but I found a very strange bug. First of all this is my code: ########CODE to copy and paste with your mouse####### on arrowKey pKey 20 switch pkey 20 20 case "left" 20 20 20 changedir "-1,0" 20 20 20 break 20 20 case "right" 20 20 20 changedir "...
by MaxV
Thu Sep 13, 2018 1:46 pm
Forum: Linux
Topic: Solving Dictionary bug
Replies: 1
Views: 5093

Solving Dictionary bug

The last versions of Livecode can't load the dictionary on some Linux distributions. If you launch the dictionary, a black browser appears. It's a library problem. The workaround is to use the old library of an old version of livecode like the 8. Here is the solution (change the first directory to t...

Go to advanced search