Re: offset broken?

2014-02-23 Thread As_Simon
J. Landman Gay wrote > function getAllOffsets pData,pChar -- find all instances of a char >put 0 into tSkip -- start at beginning >repeat > put offset(pChar,pData,tSkip) into tNextOffset -- chars since skip > point > if tNextOffset = 0 then exit repeat -- no more found > add

Re: [OT] Michigan Repository

2014-02-23 Thread Mark Wieder
Colin- Sunday, February 23, 2014, 4:57:22 PM, you wrote: > I tried opening several of the files, including the .CPT ones. > They all decompress ok. If there are any in particular you want I > can send them over. Thanks, but no problem here. Just thought I'd check it out. Personally, I'm just as

Re: [OT] Michigan Repository

2014-02-23 Thread stephen barncard
On Sun, Feb 23, 2014 at 9:49 PM, Richmond wrote: > Maybe open it in a text editor, or, heaven forfend, Hypercard running on a > Mac running a 'Classic' system, or Sheepshaver doing the same. Get it to run in System 9 in Classic mode, copy the scripts, take a snapshot of the UI and get away. sqb

Re: [OT] Michigan Repository

2014-02-23 Thread Richmond
On 23/02/14 23:34, Colin Holgate wrote: Downloading those .hqx files leaves them as .sit, and those open ok with most decompressors I think. I tried renaming a file to .rev, and it opened in LiveCode. The card was blank, and LiveCode crashed when I tried to look at the card script. I have a

Re: offset broken?

2014-02-23 Thread J. Landman Gay
I love when that happens. Pat yourself on the back. On February 23, 2014 9:13:35 PM CST, Earthednet-wp wrote: . I'm >also amazed at the amount of discussion this topic generated. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www

Re: offset broken?

2014-02-23 Thread Earthednet-wp
I always had trouble getting my students to read instructions. I used formatting and hilighting to emphasize critical points, which helped a bit. Anyway, I'll have to be more diligent about reading the docs. I'm also amazed at the amount of discussion this topic generated. Best, Bill William Pr

Re: Finding available memory without shell, how to use hasMemory()

2014-02-23 Thread Mark Wieder
Gabriel- Thursday, February 20, 2014, 11:07:59 AM, you wrote: > Hey All, > I am working on a program where I need to know the amount of available > memory. > I'm running on OS X and hasMemory() appears to return true/false for the > same values regardless changes to free/available memory. Is th

Re: [OT] Michigan Repository

2014-02-23 Thread Colin Holgate
I tried opening several of the files, including the .CPT ones. They all decompress ok. If there are any in particular you want I can send them over. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubsc

Re: [OT] Michigan Repository

2014-02-23 Thread Mark Wieder
Colin- Sunday, February 23, 2014, 1:34:48 PM, you wrote: > Downloading those .hqx files leaves them as .sit, and those open > ok with most decompressors I think. I think I've been rickrolled. Archive Manager says "could not open this file type". Apparently Aladdin used to have a linux unstuffer

Localization on iOS

2014-02-23 Thread Ender Nafi Elekcioglu
Hi folks, It seems that no matter the user’s localization settings {choice of interface or keyboard language} are, Livecode apps’ native-to-iOS controls use English. Example: User’s iPhone is set to Turkish but the mobile browser instance within my Livecode app which loads a local pdf shows “2

Re: Script local variables - Found word(s) list error in the Text body

2014-02-23 Thread Bob Sneidar
I think the idea is to be able to preload a variable the first time a script is accessed in a session, and by session I mean when the application is launched. Quitting and re-launching the app would count as a second session. While the app is running, you could change the variable and it’s value

Re: [OT] Michigan Repository

2014-02-23 Thread Bob Sneidar
What really made me give up on Hypercard and Supercard was the fact that stacks with more that 2000 cards kept corrupting themselves, and the xcmd’s capable of accessing dBase databases were sketchy at best. What got me BACK into using a Hypercard-like environment was Runtime Revolution which

Re: Script local variables - Found word(s) list error in the Text body

2014-02-23 Thread Bob Sneidar
Okay I just did a simple test. Given: local sVar = "abc" on mouseUp breakpoint put sVar put "abc" into bVar put "123" into sVar end mouseUp With Variable Preservation turned on, the first time through I get “abc” in the message box. The second time through I get “123” in the messag

Re: offset broken?

2014-02-23 Thread J. Landman Gay
On 2/23/14, 2:53 PM, Earthednet-wp wrote: Folks, Perhaps I missed it in the docs, but I didn't see where it said the char count returned by offset was measured from the skipped chars count. I do skim, so could have easily missed the fine print. It's in the last paragraph in the "offset" entry:

Re: Script local variables

2014-02-23 Thread Graham Samuel
I see that I have misunderstood the context of this 'feature' (if that's what it is). It refers to a situation where one runs a script in the IDE, finds an error, corrects it and runs it again. It's entirely an IDE thing, isn't it? Compilation can happen outside the IDE, for example where a spla

Re: Script local variables

2014-02-23 Thread Bob Sneidar
Right, otherwise CONSTANT would just be another name for VARIABLE. Bob On Feb 23, 2014, at 11:14 , J. Landman Gay wrote: > On 2/23/14, 4:30 AM, Graham Samuel wrote: >> I've just read that bit of the dictionary and I'm equally surprised. >> I also think I must have completely misunderstood it

Re: 6.6 revTools placement

2014-02-23 Thread Peter Haworth
Haven't seen that behavior, it opens where it was positioned last time LC closed down. This is on OSX 10.7.4 Related to that, I d rather not see the Tools palette open at all on startup if it was'nt open when LC closed down. I believe that's the way the Application Browser works. Pete lcSQL Sof

Re: [OT] Michigan Repository

2014-02-23 Thread Colin Holgate
Downloading those .hqx files leaves them as .sit, and those open ok with most decompressors I think. I tried renaming a file to .rev, and it opened in LiveCode. The card was blank, and LiveCode crashed when I tried to look at the card script. On Feb 23, 2014, at 4:14 PM, Richmond wrote: > >Y

Re: [OT] Michigan Repository

2014-02-23 Thread Richmond
On 23/02/14 21:58, Mark Wieder wrote: Richmond- Sunday, February 23, 2014, 11:07:08 AM, you wrote: I am not sure how comprehensive that is; I found another version of that here: Sherman, set the wayback machine to 1995. We're going to visit .sit.hqx. Yeah, well, if like me, you have an iMa

Re: Script local variables

2014-02-23 Thread Peter Haworth
Sorry, hit send too soon. Her's a more detailed version. In a card script, I have local sVar="xyz" function getVar return sVar end getVar command changeVar put "abc" into sVar end changeVar In button A on the card, I have: on mouseUp put getVar() end mouseUp In button B on the card

Re: offset broken?

2014-02-23 Thread Earthednet-wp
Folks, Perhaps I missed it in the docs, but I didn't see where it said the char count returned by offset was measured from the skipped chars count. I do skim, so could have easily missed the fine print. The way that it's implemented means to get the char position of the found char, you need to

Re: Script local variables

2014-02-23 Thread Peter Haworth
On Sun, Feb 23, 2014 at 11:14 AM, J. Landman Gay wrote: > I haven't tried it yet, maybe someone else can confirm. Yes, you can change the value of a script local variable in the way you described What's really interesting though is that the value of a script local variable assigned in this way

Re: Script local variables

2014-02-23 Thread Peter Haworth
On Sun, Feb 23, 2014 at 11:09 AM, J. Landman Gay wrote: > Don't think so, that was one of my first tests when I tried to reproduce > the problem. I'm going with "script error" as the culprit for now. I confirm that a script compile error wipes out the contents of any script local variables in th

Re: [OT] Michigan Repository

2014-02-23 Thread Mark Wieder
Richmond- Sunday, February 23, 2014, 11:07:08 AM, you wrote: > I am not sure how comprehensive that is; I found another version of that > here: Sherman, set the wayback machine to 1995. We're going to visit .sit.hqx. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully c

Re: Script local variables

2014-02-23 Thread J. Landman Gay
On 2/23/14, 4:30 AM, Graham Samuel wrote: I've just read that bit of the dictionary and I'm equally surprised. I also think I must have completely misunderstood it, because I can't see how it can work. The value of a script local variable (unless it's predefined using an '=' construction) is und

Re: Script local variables

2014-02-23 Thread J. Landman Gay
On 2/23/14, 12:17 PM, Bob Sneidar wrote: Could it be that editing the script resets the script local variables? This is true in Applescript properties. Editing and saving the script resets the properties to their defaults. Don't think so, that was one of my first tests when I tried to reproduce

Re: [OT] Michigan Repository

2014-02-23 Thread Richmond
On 23/02/14 20:51, Bob Sneidar wrote: Very cool Richmond! I should try to find my old Radio Station Manager app I created a-whay back. It actually calculated money owed to stations that aired our program and cut them checks! the good old days. Bob I am not sure how comprehensive that is; I

Re: dg library put errors into msg when opening card?

2014-02-23 Thread J. Landman Gay
On 2/23/14, 11:47 AM, Peter Haworth wrote: Have no idea whether that works in the Project Browser or rIDE. In lcSTackBrowser, there's a preference setting for any custom control that determines whether you can see its components or not irrespective of the selectGroupedControls setting. There'

Re: Edit cell in basic table field

2014-02-23 Thread J. Landman Gay
On 2/22/14, 9:05 PM, David Epstein wrote: Inspecting "the frontscripts", I discovered that the handlers governing basic table fields are in the script of button "revTable" of group "revLibraries" of stack "revLibrary." 1. Hoping to see table-editing in action, I set a checkpoint at the beginni

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Richmond
On 23/02/14 20:48, Bob Sneidar wrote: My problem is trying to get the cat to STOP dressing up in drag when I’m not around. Obviously it is trying to ASSERT itself, and OFFSET some of the negative aspects of living with you: Next thing you know it will be Skipping Characters :) Bob On F

Re: [OT] Michigan Repository

2014-02-23 Thread Bob Sneidar
Very cool Richmond! I should try to find my old Radio Station Manager app I created a-whay back. It actually calculated money owed to stations that aired our program and cut them checks! the good old days. Bob On Feb 23, 2014, at 09:56 , Richmond wrote: > A Gold Mine turns out to be availa

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Bob Sneidar
My problem is trying to get the cat to STOP dressing up in drag when I’m not around. Bob On Feb 23, 2014, at 10:10 , Richmond wrote: > On 23/02/14 20:08, Bob Sneidar wrote: >> But whatever you do, do NOT attempt to take the cat on a long walk after >> getting him intoxicated while listening

Re: offset broken?

2014-02-23 Thread Bob Sneidar
Yes and I said as much in a prior post. Calling a handler a “script” is a bad habit some of us have fallen into, but the human brain is wonderfully adept at hearing what people mean, and not necessarily what people say, which by the way is what makes for all the miscommunication between computer

Re: offset broken?

2014-02-23 Thread Bob Sneidar
Nope that is right. It’s “ignoring” the number of characters you are skipping and treating the character after that as if it were the first character. Honestly though, I would have liked to see this work something like the old dBase function at() where the third argument was the instance of wha

Re: assert - Found word(s) list error in the Text body

2014-02-23 Thread Bob Sneidar
Wow. I didn’t know you could do that with the Answer dialog! Bob On Feb 23, 2014, at 09:01 , Mark Wieder mailto:mwie...@ahsoftware.net>> wrote: on assertError a, b, c, d answer a, b, c, d end assertError ___ use-livecode mailing list use-livecode

Re: Script local variables

2014-02-23 Thread Bob Sneidar
Could it be that editing the script resets the script local variables? This is true in Applescript properties. Editing and saving the script resets the properties to their defaults. Bob On Feb 22, 2014, at 10:56 , J. Landman Gay wrote: > On 2/22/14, 12:17 PM, Peter Haworth wrote: >> I think

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Richmond
On 23/02/14 20:08, Bob Sneidar wrote: But whatever you do, do NOT attempt to take the cat on a long walk after getting him intoxicated while listening to a long symphony. First, the cat is likely not going to go very far if you try to walk him, and secondly alcohol is poison to cats. If you do

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Bob Sneidar
But whatever you do, do NOT attempt to take the cat on a long walk after getting him intoxicated while listening to a long symphony. First, the cat is likely not going to go very far if you try to walk him, and secondly alcohol is poison to cats. If you don’t believe me and attempt this, your wa

Re: dg library put errors into msg when opening card?

2014-02-23 Thread Klaus major-k
Hi Zryip, Am 23.02.2014 um 18:52 schrieb zryip theSlug : > Klaus, > > Hum we must not use the same IDE. I can inspect each group of the > datagrid by clicking on "Inspect" + "Groups" > > Is it possible for you to copy the datagrid and the template substack > in a fresh stack and send me the res

Re: Edit cell in basic table field

2014-02-23 Thread Bob Sneidar
Rev’s libraries are not debuggable in that sense. If I recall, any stack name that begins with “rev” is considered a Livecode Library (which can be useful for people building their own libraries). You can still however, use the new assert statement to build logging, or just simply use an answe

[OT] Michigan Repository

2014-02-23 Thread Richmond
A Gold Mine turns out to be available, still: http://www.umich.edu/~archive/mac/hypercard/ Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: dg library put errors into msg when opening card?

2014-02-23 Thread zryip theSlug
Klaus, Hum we must not use the same IDE. I can inspect each group of the datagrid by clicking on "Inspect" + "Groups" Is it possible for you to copy the datagrid and the template substack in a fresh stack and send me the resulting stack off-list? That's way I could have a look to this odd behavio

Re: dg library put errors into msg when opening card?

2014-02-23 Thread Peter Haworth
On Sun, Feb 23, 2014 at 9:33 AM, Klaus major-k wrote: > which is not possible in the IDE unfortunately. :-/ > A Datagrid appears as ONE object in the inspector, project browser and > rIDE. > set the selectGroupedControls of to true In the Application browser, right click on the right pane and

Re: offset broken?

2014-02-23 Thread Peter M. Brigham
It's easy to construct similar extensions of the other offset functions: lineoffsets(), itemoffsets() and wordoffsets(). They come in very handy. I do a lot of text munching and I am continually using one or another of them. One common situation is when you need not the first occurrence of a str

Re: dg library put errors into msg when opening card?

2014-02-23 Thread Klaus major-k
Hi Zryip, Am 23.02.2014 um 18:14 schrieb zryip theSlug : > Klaus, > > In the inspector, check each behavior id of groups named "row template 000x". which is not possible in the IDE unfortunately. :-/ A Datagrid appears as ONE object in the inspector, project browser and rIDE. > These groups on

Re: dg library put errors into msg when opening card?

2014-02-23 Thread zryip theSlug
Klaus, In the inspector, check each behavior id of groups named "row template 000x". These groups only appear when the datagrid is filled. Best, On Sun, Feb 23, 2014 at 5:54 PM, Klaus major-k wrote: > Hi Zryip, > > Am 23.02.2014 um 17:50 schrieb zryip theSlug : > >> Klaus, >> >> Do you have c

Re: assert

2014-02-23 Thread Mark Wieder
Richmond- May be better to try a simple but real example. Here's a test that can be run on each new build of the engine to make sure that the random() function hasn't broken. on mouseUp test_random 5.3 test_random 10.7 end mouseUp on test_random x local y put random(x) into

Re: assert

2014-02-23 Thread Graham Samuel
Richmond, I did your thing of creating a button with a script in it: on mouseUp assert 1 is 2 end mouseUp on assertError answer "It isn't, you know!" end assertError It worked entirely as expected - the object containing the command (the button, in this case) received the assertError mess

Re: dg library put errors into msg when opening card?

2014-02-23 Thread Klaus major-k
Hi Zryip, Am 23.02.2014 um 17:50 schrieb zryip theSlug : > Klaus, > > Do you have cache controls turn to on for the datagrid? no. > Each row in the datagrid is linked to the template behavior button. > I'm suspecting one or more of these rows are linked to the wrong > template. Does not make

Re: dg library put errors into msg when opening card?

2014-02-23 Thread zryip theSlug
Klaus, Do you have cache controls turn to on for the datagrid? Each row in the datagrid is linked to the template behavior button. I'm suspecting one or more of these rows are linked to the wrong template. Best, On Sun, Feb 23, 2014 at 5:35 PM, Klaus major-k wrote: > Hi Zryip, > > Am 23.02.20

Re: dg library put errors into msg when opening card?

2014-02-23 Thread Klaus major-k
Hi Zryip, Am 23.02.2014 um 17:22 schrieb Klaus major-k : > Hi Zryip, > > Am 23.02.2014 um 17:10 schrieb zryip theSlug : >> Klaus, >> Hum interesting information. In this case my previous description will >> be in no help as the row tempate is not lost. >> In the template substack, the group id 1

Re: Script local variables

2014-02-23 Thread Mark Wieder
Jacque- Saturday, February 22, 2014, 6:58:35 PM, you wrote: > They must have changed it when you and I weren't looking. Variable > assignments are even listed in the examples in the dictionary entry for > "local". I may have to read the whole dictionary again to see what else > I've missed. OK -

Re: dg library put errors into msg when opening card?

2014-02-23 Thread Klaus major-k
Hi Zryip, Am 23.02.2014 um 17:10 schrieb zryip theSlug : > Klaus, > > Hum interesting information. In this case my previous description will > be in no help as the row tempate is not lost. > In the template substack, the group id 1006 of card id 1005 is the > "row template". If you are editing

Re: offset broken?

2014-02-23 Thread J. Landman Gay
Yours includes the method of finding whole words. I left that out for brevity but it's a common thing to need. So, not a waste. On February 23, 2014 6:18:28 AM CST, "Peter M. Brigham" wrote: >Oh. Didn't see this before I sent off my version… > >-- Peter -- Jacqueline Landman Gay |

Re: dg library put errors into msg when opening card?

2014-02-23 Thread zryip theSlug
Klaus, Hum interesting information. In this case my previous description will be in no help as the row tempate is not lost. In the template substack, the group id 1006 of card id 1005 is the "row template". If you are editing its properties in the inspector, what is it's the behavior id? Best,

Re: offset broken?

2014-02-23 Thread Richmond
On 23/02/14 18:05, J. Landman Gay wrote: I commented on it, I just didn't quote it. That handler is the one that counts from the beginning of the text in each iteration of the loop. The speed of execution will decrease as the size of the text grows. If your source text is relatively short, yo

Re: offset broken?

2014-02-23 Thread J. Landman Gay
I commented on it, I just didn't quote it. That handler is the one that counts from the beginning of the text in each iteration of the loop. The speed of execution will decrease as the size of the text grows. If your source text is relatively short, your repetitive counting handler will probabl

Re: assert

2014-02-23 Thread Richmond
On 23/02/14 15:47, Björnke von Gierke wrote: on mouseUp assert 1 + "blah" end mouseUp Well that certainly threw up an error message. But this: on mouseUp put 1 + "blah" into FUDGE end mouseUp also threw up an error message. -- on assert

Re: dg library put errors into msg when opening card?

2014-02-23 Thread zryip theSlug
Klaus, A copy paste or a deletion of the datagrid can be an explanation. We can fix this manually or call DGH to help. We have a tool ready for this situation. 1. Activate DGH and double click on your datagrid form 2. In the Behaviors / Templates topic, click on the 3 dots button in regard of th

Re: dg library put errors into msg when opening card?

2014-02-23 Thread Klaus major-k
Hi Zryip, Am 23.02.2014 um 16:26 schrieb Klaus major-k : > Hi Zryip, > > Am 23.02.2014 um 16:20 schrieb zryip theSlug : > >> Hi Klaus, >> >> Do you have really a data grid substack named "Data Grid Templates >> 1362542789804", in your project? > > no, the substack containing the Row Template

Re: dg library put errors into msg when opening card?

2014-02-23 Thread Klaus major-k
Hi Zryip, Am 23.02.2014 um 16:20 schrieb zryip theSlug : > Hi Klaus, > > Do you have really a data grid substack named "Data Grid Templates > 1362542789804", in your project? no, the substack containing the Row Template and Behavior has the id 1393161990962! Maybe that was a substack of a prev

Re: dg library put errors into msg when opening card?

2014-02-23 Thread zryip theSlug
Hi Klaus, Do you have really a data grid substack named "Data Grid Templates 1362542789804", in your project? Best, On Sun, Feb 23, 2014 at 4:05 PM, Klaus major-k wrote: > Hi friends, > > strange problems here (as ususal). > > 1. I created a fresh datagrid FORM on a card. > 2. I have a script

dg library put errors into msg when opening card?

2014-02-23 Thread Klaus major-k
Hi friends, strange problems here (as ususal). 1. I created a fresh datagrid FORM on a card. 2. I have a script that populates it with data. All is working fine, but when I navigate to that card***, I get this in the message box: *** I do not populate the dg on open or preopencard or anything e

Re: assert

2014-02-23 Thread Björnke von Gierke
on mouseUp assert 1 + "blah" end mouseUp on assertError dont, remember, amountOfParameters put dont & remember & amountOfParameters end assert see release notes of 6.6 dp here: http://downloads.livecode.com/livecode/ On 23.02.2014, at 14:31, Richmond wrote: > Right; so here I am on a Sunda

Re: 6.6 revTools placement

2014-02-23 Thread Roger Eller
I haven't seen it do that, but neither have I repositioned the tools. (OS X 10.8.3). ~Roger On Feb 23, 2014 7:02 AM, "Richmond" wrote: > Is it only me (LOL), or is it a universal phenomenon that > every time one starts up Livecode 6.6 dp1 the revTools stack opens > centre-screen > (or, center-s

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Thierry Douez
>> So my suggestion would be to update errorDialog, maybe make a synonym for >> people used to other languages. And then add an assert control structure (or >> even just modify try to be able to use it in that way). I would not like having this.; they are 2 different beasts and concepts. ( And

assert

2014-02-23 Thread Richmond
Right; so here I am on a Sunday afternoon feeling suitably postprandial . . . and looking at the notes for 6.6 dp1 and playing around with ASSERT Set up a stack with a button with this script: on mouseUp assert 1 is 2 end mouseUp as per notes. SO? Where is any sort of result tried this

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Björnke von Gierke
Alright I think I've said what I wanted on assert, so my next problem is with the SQLite syntax changes. The "new" binary mode is in fact just the default SQLite way to use binary. Because of that, I strongly would prefer to make that the default, and deprecate the LC way of storing binary in

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Björnke von Gierke
On 21.02.2014, at 16:36, Björnke von Gierke wrote: > So my suggestion would be to update errorDialog, maybe make a synonym for > people used to other languages. And then add an assert control structure (or > even just modify try to be able to use it in that way). -- Use an alternative Dict

Re: offset broken?

2014-02-23 Thread Peter M. Brigham
Oh. Didn't see this before I sent off my version… -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Feb 22, 2014, at 4:49 PM, J. Landman Gay wrote: > On 2/22/14, 1:35 PM, Richmond wrote: >> Sorry: Neanderthal question time: >> >> I cannot see anything about charsToS

Re: offset broken?

2014-02-23 Thread Peter M. Brigham
Here's a useful function that demonstrates the use of the third parameter for offset(). It returns all the offsets of a string in a container: function offsets str,container,includeOverlaps -- returns a comma-delimited list of all the offsets of str in container -- returns 0 if not found

6.6 revTools placement

2014-02-23 Thread Richmond
Is it only me (LOL), or is it a universal phenomenon that every time one starts up Livecode 6.6 dp1 the revTools stack opens centre-screen (or, center-screen) rather than where one parked it last time? Richmond. ___ use-livecode mailing list use-live

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Richmond
On 23/02/14 13:43, Thierry Douez wrote: I still think that adding an assert command (of all things) is a completely wrong way to do that tho. Well, everybody is entitled to their own opinion. One of the things I really, really like about Livecode, is the way that there are many ways to do the

Re: RELEASE LiveCode 6.6 DP1

2014-02-23 Thread Thierry Douez
>> I still think that adding an assert command (of all things) is a >> completely wrong way to do that tho. and Dilbert to the rescue: http://dilbert.com/dyn/str_strip/0//000/20/1//900/210948/210948.strip.zoom.gif Have a nice sunday :) Thierry

Re: Script local variables

2014-02-23 Thread Graham Samuel
I've just read that bit of the dictionary and I'm equally surprised. I also think I must have completely misunderstood it, because I can't see how it can work. The value of a script local variable (unless it's predefined using an '=' construction) is undefined until a script is run, and is then

Re: offset broken?

2014-02-23 Thread Richmond
On 22/02/14 23:49, J. Landman Gay wrote: On 2/22/14, 1:35 PM, Richmond wrote: Sorry: Neanderthal question time: I cannot see anything about charsToSkip in the inbuilt (i.e. in the IDE) documentation (6.6. dp1). It's the third parameter in the "offset" function. See "offset" in the dictionary