Search found 31 matches

by jawall
Mon Nov 09, 2015 3:16 pm
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

Hi Klaus,

well,, the "comparing" is not the issue. No problems with the script itself (it also worked perfectly for a few years now).

Bernd and I have narrowed down the problem. It has to do with the fact that LiveCode 7 stored text in some (but not all) flds (sorry for being very vague, more is ...
by jawall
Mon Nov 09, 2015 7:42 am
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

Still not solved (in my environment)

Actually my problem is not that message Box and answer dialog show different resuts (by the way in my case it is not the first character that is being shown in the answer dialog, but everything to the first appearance of the character "2"). I don't need to ...
by jawall
Sun Nov 08, 2015 10:00 pm
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

Thank you all for your ideas.

I have sent my stack to Bernd and he did a great job on checking it with various versions of livecode. What he came up with, though I do not fully understand it, makes perfect sense as to how the issue came up:

I have been using my stack for a long time. I created it ...
by jawall
Sun Nov 08, 2015 12:52 pm
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

hi bernd,

there is a problem. the data in the stack contains students and grades with fotos and addresses. I can't post that here. I could send it to you via mail an give you instructions on where to find the code and how to reproduce the error

But I will take a little and you would have to send ...
by jawall
Sun Nov 08, 2015 12:37 pm
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

I did

<p><font color="#000000">2015/16-1, 9k1-Mu</font></p>
by jawall
Sun Nov 08, 2015 12:10 pm
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

Hey, Bernd,

you are very nice, indeed.

I did breakpoint the script and the variable kurs contains just wht is is supposed to contains in the variable watcher: "2015/16-1, 10k6-En"

BUT
When I copy and pasted the variables contents here into this post it read: " 015/16-1, 10k6-En"
Is that normal ...
by jawall
Sun Nov 08, 2015 11:46 am
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

I am in shame: I have worked with HyperCard and then LiveCode for about 20 years, coding highly complex stuff, but I never worked with debug mode, breakpoints and such - I just, don't know how to do that....

... Yes, I know! :oops:
by jawall
Sun Nov 08, 2015 11:30 am
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

Bernd,

no invisible or funny characters other than what I already posted and the return character between lines.

The fld "Kurse" is filled in a process that is much prior to reading it.
Initially it is filled by hand, I mean, typed in.
by jawall
Sun Nov 08, 2015 11:08 am
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

Further info:

In my stack
Version A

Code: Select all

   put "2015/16-1, 9k1-Mu" into kurs
   put kurs
   answer kurs
works


Version B

Code: Select all

   put the selectedtext of fld "Kurse"  into kurs
   put kurs
   answer Kurs
results in the behavior I wrote about.

Somehow
by jawall
Sun Nov 08, 2015 11:02 am
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

I checked with a simple stack

on mouseUp
put "2015/16-1, 9k1-Mu" into kurs
put kurs
answer Kurs
end mouseUp

It works as expected. So it cannot be an issue of LiveCode version or Mac OS version. It must have to do with my stack code. But how can that be? It should be impossible to alter the ...
by jawall
Sun Nov 08, 2015 10:55 am
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

Re: weird and severe language issue

Hi Bernd,

thank you very much!

as I said, it used to work here, too....

It is impossible to post relevant part of the code since the stack is really heavily scripted and there are many interdependencies. I wish I coul, but nothing of my code, other than what I already posted, would make sense to ...
by jawall
Sun Nov 08, 2015 10:43 am
Forum: Talking LiveCode
Topic: weird and severe language issue
Replies: 23
Views: 16178

weird and severe language issue

Good morning,

I came across what to my stack is a very severe and extremly odd issue.

In my code the variable kurs contains something like "2015/16-1, 9k1-Mu"
put kurs results in "2015/16-1, 9k1-Mu"
answer kurs results in "2"

The issue appeared just recently. I tried several older LiveCode ...
by jawall
Fri Feb 28, 2014 6:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: dateitems strangness
Replies: 6
Views: 7167

Re: dateitems strangness

Yes, Carig and Bjornke, you are both right. I can't second my first impression that dateitems are suggested for calculations in the dictionary.The source of information I had in mind is this http://revolution.byu.edu/time/timeInRev.php (in the lower third of the page)

The thing is that date items ...
by jawall
Thu Feb 27, 2014 9:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: dateitems strangness
Replies: 6
Views: 7167

Re: dateitems strangness

Thanks BvG,

converting to seconds - as you suggested - solves the problem.

It, on the other hand, is still weird that the dateItems do not work as expected (and I think also described in the dictionary). It also is rather inconvenient in the environment that I need to do the date calculations in ...
by jawall
Thu Feb 27, 2014 7:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: dateitems strangness
Replies: 6
Views: 7167

dateitems strangness

Hey there,

I am totally confused by this (I am working on a German system thus the dd.mm.yyyy format):

set useSystemDate to true
put "04.11.2013" into d1
convert d1 to dateitems
put "20.11.2013" into d2
convert d2 to dateitems
answer (d1 < d2) -- the answer here is FALSE !!!!

set useSystemDate ...