Search found 12 matches

by ToreT
Fri Mar 02, 2007 10:02 pm
Forum: Talking LiveCode
Topic: this wait until works
Replies: 3
Views: 6047

no, the whole point was to use "wait until" in one handler and restart it from another handler. This was just to test it, I skipped all the other stuff and reasons for doing it.

Maybe a bit confusing that i made both handlers start from one button handler.

I should not have put a subject on the ...
by ToreT
Sun Feb 25, 2007 9:45 pm
Forum: Feature Proposals
Topic: Head Bangers documentation
Replies: 2
Views: 4371

OK....I will check it out. I am a bit lazy too, sort of like to find everything in one place. Also the usual problem with forums is: All the bestwork seems to drown in a mass of caos. Whish somebody could take the best code samples and put them somewhere in clear searchable categories, and with ...
by ToreT
Sun Feb 25, 2007 9:32 pm
Forum: Talking LiveCode
Topic: this wait until works
Replies: 3
Views: 6047

this wait until works

Hi,
finally made it, do not how I can upload the stack though...in case someone would like it.

Regards
Tore

local fromTheBeginning, exitHandler

on oneMoreLine
-- this handler is for the "Next Line" button
if fromTheBeginning = true
then
-- start handler:
oneLineAtTheTime
else
set the ...
by ToreT
Fri Feb 23, 2007 7:29 pm
Forum: Talking LiveCode
Topic: Restart a handler by a message
Replies: 2
Views: 5047

Hi,

thanks, I think your answer is relevant, didn not work right away. Have to try more tomorrow, now I have to go and listen to some JAZZ with my woman.

Have a nice evening
Tore
by ToreT
Fri Feb 23, 2007 4:41 pm
Forum: Talking LiveCode
Topic: Restart a handler by a message
Replies: 2
Views: 5047

Restart a handler by a message

How do I pause a handler and continue it by using: wait until ..... some message is sent from another handler or button script?
by ToreT
Fri Feb 23, 2007 4:37 pm
Forum: Feature Proposals
Topic: Head Bangers documentation
Replies: 2
Views: 4371

Head Bangers documentation

I am a casual Revolutionary, but when I start a project I spend days writing code. And like today spend hours banging my head, because I get very impatient searching for code or explanations. Please include some more links to code examples in the Documentation Dictionary. Just accept that not all of ...
by ToreT
Wed Feb 14, 2007 9:32 pm
Forum: Talking LiveCode
Topic: variable pointers
Replies: 12
Views: 13394

OK, let's leave it at that. Untill Revolution becomes a highrise and have to dig out a basement for the cars to park. My idea of a pointer was somwhat simple and limited, maybe not even like the low-level way.

Thanks again from
Tore
by ToreT
Tue Feb 13, 2007 8:25 pm
Forum: Talking LiveCode
Topic: variable pointers
Replies: 12
Views: 13394

Hi & thanks Mark,
I did not mention that I used the list to put it in a table field, then making the array. But I believe you even have a ready solution for putting the array into a field without even using the combine command!?

Anyhow, I would still like to know why we do not have variable ...
by ToreT
Mon Feb 12, 2007 11:07 pm
Forum: Talking LiveCode
Topic: variable pointers
Replies: 12
Views: 13394

This is something of the kind I have been doing, looping throug a text to find sertain numbers like "no2", "no15":

put "this is no2" & return & "this can be no15" & return into myText

repeat with i = 1 to the number of lines in myText
get matchText(line i of myText,"(no[0-9]+)", theText)
put ...
by ToreT
Mon Feb 12, 2007 9:37 pm
Forum: Talking LiveCode
Topic: variable pointers
Replies: 12
Views: 13394

and then I have a handler that makes list like the following:

var2
var5
var37

Now I want a repeat that declares these names in my list as variables, how?
by ToreT
Mon Feb 12, 2007 8:30 pm
Forum: Talking LiveCode
Topic: variable pointers
Replies: 12
Views: 13394

I just don't know how to do it without using an array.
I wish it where possible to put a value into a variable named via a variable pointer.

put "BagOne" into @variablePointer
put 15 into variablePointer

--which then should give me a variable named "BagOne" with a value of 15
by ToreT
Sun Feb 11, 2007 9:41 pm
Forum: Talking LiveCode
Topic: variable pointers
Replies: 12
Views: 13394

variable pointers

I am missing a method of variable pointers, so I have been using arrays instead:

put myVar into aKeyName
put theCalculation into myArray[aKeyName]

but this is not good in every situation, any other way?