Hi Klaus, on mouseUp set the itemDel to tab put fld "a1" into tData put fld"a2" into tData2 put empty into tData3 repeat with x = 1 to the number of lines in tData put line x of tData & tab & item 2 of line x of tData2 & tab & item 3 of line x of tData2 & CR after tData3 delete char -1 of tData3 put...
Hi Klaus, Klaus said, Whatever, you want to do something like this: line 1 of fld "a1" and item 2 of line 1 of fld "a2" and item 3 of line 1 of fld "a2" -> line 1 of fld "b1" etc. for all other lines... Is that what you are trying to do? Yes, disregarding my original code, i put this into the button...
'i guess i got excited that a simple repeat loop worked that i over looked the fact that i only wanted field a1 and item 2 and item 3 of field "a2" into field b1. Sorry to jump the gun. i'll keep working on it.
Hi Kaveh, I always over complicate things :) and yes, i want the contents of field 2 after the contents of field 1. I tried many repeat loops (not familiar enough with "nested or next") before jumping over to the "How to Lessons on Arrays". If a repeat loop or anything else works, I'm all ears. Here...
I'm going to try and give it another shot. I've not used LiveCode since 2017. Back to beginner status. Already stumped. In a test field, I'm trying to merge two fields into one using an array with split and combine. Field a1 contains - dog > mouse > toad Field a2 contains - cat > no.1 > 10 >=tab glo...
ghettocottage, Thanks for the reply, i looked and there is a folder called "modules" which contain those. i assume that Apache can access them. i almost had the program work. The html almost always shows up, but one time the livecode output showed without the html text.Go figure! i've Googled for an...
i've been trying make Livecode server work with XAMPP 2.24 using the "latest" httpd.conf file on macOSX El Capitan using Livecode 8.13 with server 8.13. Yes, i have permissions. i've tried everything i could think of; i put the Add Handler inside the directory and outside it, etc i used an older liv...
Klaus, Obviously, i like to over complicate things, plus I left out some vital information. First of all, this should probably be in a database. I'm just trying to avoid doing that or just map it out beforehand. Field "noteText" is a question and answer form that will eventually come from a website ...
It's been a many, many months since I've worked with livecode due to work etc. So i'm back to beginner status and i can't believe i have to ask this question. Anyway, I'm trying to combine 2 fields with this save command. it's a knockoff of the notes app ( 8.0 +) where the highlited line of the note...
Argggggggh!! I knew it should be simple. turns out it is, but the hundreds of different ways i tried to fix it, waiting for minutes to tick off. So, in case anyone wants to know the answer. global gStarts, local aTime on mouseDown put the time into sTime convert sTime to seconds put sTime - gStarts ...
Craig Thanks for the response, but i've been busy at work and still trying to figure this out on my own. Yes, gStart is a global variable. The time(converted to seconds) is placed in the variable gStart on openCard. What i've already posted works fine. it just keeps subtracting from gStart. i need i...
Hello, This is basically a timer, which i didn't know Livecode had "built in" ones until well into my project. Regardless, gStart comes from the openCard script. This code is in a button called "time2". The problem is that each time "button time2" is pushed the time is subtracted from the gStart. Th...