Search found 189 matches

by trenatos
Sat Mar 01, 2014 11:04 pm
Forum: Feature Requests
Topic: See special characters in IDE
Replies: 3
Views: 1416

See special characters in IDE

I'd love to see a setting for seeing all special characters right in the IDE (Similar to what Notepad++ does)

Sometimes a NL or CR sneaks in and can be a bugger to find, being able to just see all special chars would solve that.
by trenatos
Wed Feb 26, 2014 8:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limit put keys of array to first level?
Replies: 15
Views: 2286

Re: Limit put keys of array to first level?

When I tried put the keys it didn't just return the first set (Channel names) but also the name "Messages" (Which they all have as the second key)

--edit--

Btw, the IRC client is going to be open source for anyone to play with.
by trenatos
Wed Feb 26, 2014 7:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limit put keys of array to first level?
Replies: 15
Views: 2286

Re: Limit put keys of array to first level?

If anyone's curious of what I'm doing with it, I'm building an IRC client entirely in LiveCode. At this point (With Simons help above) I currently have: Connecting and authenticating with server, multi-channels, shorthands for join and part, userlist and channel list. Next up will probably be a sett...
by trenatos
Wed Feb 26, 2014 6:33 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limit put keys of array to first level?
Replies: 15
Views: 2286

Re: Limit put keys of array to first level?

Yes, I have a multidimensional array with an "unknown" first key (It's unknown by the function because I don't want to maintain a lookup-list). The function needed to pull the name of the first key, IE. channels[thiskey][notthisone] without knowing the name of that first key. I couldn't solve it, be...
by trenatos
Wed Feb 26, 2014 6:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limit put keys of array to first level?
Replies: 15
Views: 2286

Re: Limit put keys of array to first level?

See? I KNEW there had to be a simple way :D

Thanks, Simon, if we ever meet I owe you a handful of beers by now. lol
by trenatos
Wed Feb 26, 2014 5:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limit put keys of array to first level?
Replies: 15
Views: 2286

Re: Limit put keys of array to first level?

To a point, there's a misunderstanding, it's likely due to my stupid naming-scheme. I'm dynamically creating keys in the array based on user input basically like this; User joins channel "bobs cooking", so a new value for the channel array is created and looks like this: put "bobs cooking" into chan...
by trenatos
Wed Feb 26, 2014 5:33 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limit put keys of array to first level?
Replies: 15
Views: 2286

Re: Limit put keys of array to first level?

I'm sorry, but I don't understand how that would help me. I'm not pulling the data from a datagrid, so I can't use dgIndexes. Assume that "bobs channel" and "lucys channel" are unknown names. It can't be this hard to just pull all the first keys from an array, it's driving me insane. lol All I need ...
by trenatos
Wed Feb 26, 2014 4:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limit put keys of array to first level?
Replies: 15
Views: 2286

Re: Limit put keys of array to first level?

That doesn't seem to play nice with the multidimensional array. I was getting a bunch of blank lines, and only one result, so I tried with a simple test and when it's a multidimensional array it doesn't work right. I tried: put "stuff1" into bob["bob"] put "stuff2" into bob["bob2"] combine bob with ...
by trenatos
Wed Feb 26, 2014 3:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Limit put keys of array to first level?
Replies: 15
Views: 2286

Limit put keys of array to first level?

I have a multidimensional array and need to list only the items in the first level. Here's the overview of the array channels[channelname][messages] so for example channels["bobs channel"]["firstmessage\NLsecondmessage\NLetc"] channels["lucys channel"]["firstmessage\NLsecondmessage\NLetc"] put the k...
by trenatos
Wed Feb 12, 2014 2:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Math function Floor()
Replies: 8
Views: 955

Re: Math function Floor()

Are you suggesting I add it as a "bug"?

And, I'm not going anywhere near the "Feature request" forum anytime soon.

-edit-

Made an account and found that I could post an Enhancement suggestion.
by trenatos
Tue Feb 11, 2014 11:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Math function Floor()
Replies: 8
Views: 955

Re: Math function Floor()

Round rounds to nearest whole number, floor() rounds to nearest *lower* whole number.

It's not that big of a deal, just strange to be missing, I'll just create the function for now and hope that RunRev builds floor() into future releases of LC.
by trenatos
Tue Feb 11, 2014 8:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Math function Floor()
Replies: 8
Views: 955

Re: Math function Floor()

Doesn't trunc always round towards 0 though?
by trenatos
Tue Feb 11, 2014 7:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Math function Floor()
Replies: 8
Views: 955

Math function Floor()

Is floor() available in LC?

I've tried to find out but haven't been able to find it, figured I should ask before giving up.
by trenatos
Sun Feb 02, 2014 7:58 am
Forum: Internet
Topic: SOCKS4/5?
Replies: 3
Views: 59142

Re: SOCKS4/5?

Sorry about the late reply, the forums didn't let me know there was a new reply.

Thanks Robert, I think this will let me pick up the project again :)
by trenatos
Tue Dec 31, 2013 9:47 pm
Forum: Using Externals and Plugins
Topic: External DLLs?
Replies: 1
Views: 2223

External DLLs?

I found this: http://www.sonsothunder.com/devres/revo ... ext002.htm
But the post that referenced it was written in 2007, so I'm wondering how useable it is or if there are better/other methods for working with "non-rev" DLLs?

Go to advanced search