Re: incrementing a decimal...

2017-11-07 Thread Nicolas Cueto via use-livecode
Monte Goulding's solution was what I was after. Thank you. -- Nicolas Cueto On 8 November 2017 at 09:45, Monte Goulding via use-livecode < use-livecode@lists.runrev.com> wrote: > Something like: > > put “3.33.007" into tValue > set the itemDelimiter to "." > put format("%s.%03d", item 1 to 2

Re: incrementing a decimal...

2017-11-07 Thread hh via use-livecode
put 33.000 into x put 34.123 into y put 0.001 into stp repeat with i=x to y-stp/2 step stp put format("3.%.3f",i) & cr after lst end repeat ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: incrementing a decimal...

2017-11-07 Thread Monte Goulding via use-livecode
> On 8 Nov 2017, at 11:45 am, Monte Goulding via use-livecode > wrote: > > Something like: > > put “3.33.007" into tValue > set the itemDelimiter to "." > put format("%s.%03d", item 1 to 2 of tValue, item 3 of tValue + 1) into > tNextValue Actually probably

Re: incrementing a decimal...

2017-11-07 Thread Monte Goulding via use-livecode
Something like: put “3.33.007" into tValue set the itemDelimiter to "." put format("%s.%03d", item 1 to 2 of tValue, item 3 of tValue + 1) into tNextValue > On 8 Nov 2017, at 11:22 am, Nicolas Cueto via use-livecode > wrote: > > I'm after an easy way to convert

incrementing a decimal...

2017-11-07 Thread Nicolas Cueto via use-livecode
I'm after an easy way to convert span 3.33.007-3.33.012 into this incremental cr-del list: 3.33.007 3.33.008 3.33.009 3.33.010 3.33.011 3.33.012 >From experience, I know if I add 1 to "07" the result is "8" and not "08". Thank you. -- Nicolas ___

Re: OT : need help understanding why my web page isn't behaving right :-)

2017-11-07 Thread Phil Davis via use-livecode
Flush your browser cache and try again? Phil Davis On 11/7/17 3:27 PM, Alex Tweedly via use-livecode wrote: I just discovered a problem with one of my web pages - but can't figure out just where it's coming from. Anyone know their way around chrome tools and able to help ? If you load

Re: OT : need help understanding why my web page isn't behaving right :-)

2017-11-07 Thread Mark Wieder via use-livecode
On 11/07/2017 03:37 PM, Terry Judd via use-livecode wrote: Hi Alex – those links work fine for me on Chrome on a Mac. ...although I should also say that the SourceCode Pro fonts are already installed on my computers. If I look in Chrome developer tools under Sources, I see that css?family

Re: OT : need help understanding why my web page isn't behaving right :-)

2017-11-07 Thread Mark Wieder via use-livecode
On 11/07/2017 03:37 PM, Terry Judd via use-livecode wrote: Hi Alex – those links work fine for me on Chrome on a Mac. Ditto here Chrome on linux mint. No worries. -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list

Re: OT : need help understanding why my web page isn't behaving right :-)

2017-11-07 Thread Terry Judd via use-livecode
Hi Alex – those links work fine for me on Chrome on a Mac. Terry... On 8/11/2017 10:27 am, "use-livecode on behalf of Alex Tweedly via use-livecode" wrote: I just discovered a problem with one of my

OT : need help understanding why my web page isn't behaving right :-)

2017-11-07 Thread Alex Tweedly via use-livecode
I just discovered a problem with one of my web pages - but can't figure out just where it's coming from. Anyone know their way around chrome tools and able to help ? If you load the page    https://www.kilmelford.com/igniter.lc/basic/Services the links in the body of the page (to

Re: The coming of SVG

2017-11-07 Thread Robert Mann via use-livecode
Hi all, long time not around, but clarity in language is a key point so my 2 cents : 1) I would much favor DRAWING versus image. The core differentation of a vector image is that it has been drawn versus "shot" by a camera for an image. That can be physically understood by all. The idea of a

Re: The coming of SVG

2017-11-07 Thread J. Landman Gay via use-livecode
On 11/7/17 2:01 PM, Alex Tweedly via use-livecode wrote: On 07/11/2017 19:02, J. Landman Gay via use-livecode wrote: I believe the objection to using "vector" is because the object isn't going to contain only vector graphics. Eventually it will be a representation of many different image

Re: How to (in iOS) Import snapshot and paste resulting image to substack?

2017-11-07 Thread J. Landman Gay via use-livecode
On 11/7/17 12:21 PM, JOHN PATTEN via use-livecode wrote: cut image "pages 2-3" of this card. —there is no cut in iOS??? go to stack "Print Template" paste — there is no paste in iOS You can do: copy img "pages 2-3" of this card to card of stack "print template" delete img "pages 2-3" of

Re: using LC as an emulator

2017-11-07 Thread Rick Harrison via use-livecode
I used to work on HP-3000s in HP BASIC, COBOL, and FORTRAN. What a pain in the you know what! Rick > On Nov 7, 2017, at 2:48 PM, Jerry Jensen via use-livecode > wrote: > > I too have spent way too much of my life in HP BASIC. IIRC, it is tokenized > before

Re: The coming of SVG

2017-11-07 Thread Alex Tweedly via use-livecode
On 07/11/2017 19:02, J. Landman Gay via use-livecode wrote: I believe the objection to using "vector" is because the object isn't going to contain only vector graphics. Eventually it will be a representation of many different image formats, a sort of catch-all that will replace all the

Re: using LC as an emulator

2017-11-07 Thread Jerry Jensen via use-livecode
I too have spent way too much of my life in HP BASIC. IIRC, it is tokenized before storing (around here called byte codes). One approach might be to figure a way to get at the HPB tokens and emulate each of them in LC. Also IIRC HPB uses a pretty simple symbol table for variables and such. Do

RE: iPhone X or "Apple is just the most annoying company of all time"

2017-11-07 Thread Ralph DiMola via use-livecode
FYI: While doing the iPhone X screen shots for iTunes Connect I realized that the iPhone X is much more "portraitity" than any other device I have run across. I have some serious re-working to do. The iPhone X aspect ratio is something like 19:9 where the iPhone 8 is more-or-less a standard

Re: using LC as an emulator

2017-11-07 Thread Rick Harrison via use-livecode
Hi Mike, It sounds like a lot of work however you do it. Is creating an emulator really going to be easier than doing a whole system migration to LiveCode or some other language? Good luck with whatever you do! Rick > On Nov 7, 2017, at 1:57 PM, Mike Kerner via use-livecode >

Re: How to (in iOS) Import snapshot and paste resulting image to substack? (Solved)

2017-11-07 Thread JOHN PATTEN via use-livecode
I figured it out :) Needed to just use export snapshot, instead of import snapshot, and create named image holders to “paste” the exported snapshots into. export snapshot from rectangle (the rect of cd fld "pages 2-3") of this card to img "pages 2-3" of stack "Print Template" go to stack

Re: The coming of SVG

2017-11-07 Thread J. Landman Gay via use-livecode
I believe the objection to using "vector" is because the object isn't going to contain only vector graphics. Eventually it will be a representation of many different image formats, a sort of catch-all that will replace all the existing bitmap and vector controls in the future. On 11/7/17

Re: using LC as an emulator

2017-11-07 Thread Mike Kerner via use-livecode
I'll email you offline. On Tue, Nov 7, 2017 at 1:36 PM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2017-11-07 17:42, Mike Kerner via use-livecode wrote: > >> No, the ERP is written in HP BASIC, so I would want to emulate the >> language, given the breadth and

Re: using LC as an emulator

2017-11-07 Thread Mark Waddingham via use-livecode
On 2017-11-07 17:42, Mike Kerner via use-livecode wrote: No, the ERP is written in HP BASIC, so I would want to emulate the language, given the breadth and number of programs. I was thinking about writing wrappers for the various commands and functions of the language, but it won't be easy,

Re: The coming of SVG

2017-11-07 Thread Stephen Barncard via use-livecode
Well, the word vector is not to be found anywhere in the dictionary. *vectorImage* (we already have newImage and deleteImage messages, and several properties begin with *image* *imageVector* (we already have imageSource imageData and imagePixmapID *vectorRender* somehow function and command

How to (in iOS) Import snapshot and paste resulting image to substack?

2017-11-07 Thread JOHN PATTEN via use-livecode
Hi All, In iOS on an iPad, I am trying to import a snapshot and then place the resulting image on a substack of the main stack. The idea is to save the substack out as a PDF after placing a number of snapshots on it. The code I am using is: - import snapshot from rectangle

Re: The coming of SVG

2017-11-07 Thread Richmond Mathewson via use-livecode
I have a feeling the name should be one word, probably in camel format, so that has to be vectorSomethingOrOther shartened, presumably, to vSOO Richmond. On 7/11/17 5:31 pm, Bob Sneidar via use-livecode wrote: +1 for vector something or other. Bob S On Nov 6, 2017, at 15:35 , Stephen

Re: using LC as an emulator

2017-11-07 Thread Mike Kerner via use-livecode
No, the ERP is written in HP BASIC, so I would want to emulate the language, given the breadth and number of programs. I was thinking about writing wrappers for the various commands and functions of the language, but it won't be easy, no matter what I do. There are also binary resources that I

Re: using LC as an emulator

2017-11-07 Thread Mark Waddingham via use-livecode
On 2017-11-07 04:00, Mike Kerner via use-livecode wrote: It's a LOT of code, all of which was originally written 30+ years ago, but we've been maintaining it ever since. Many of the other systems that we have written interface with this core, and extend it, since there are much better tools

Re: using LC as an emulator

2017-11-07 Thread Mike Kerner via use-livecode
I know what it does. I own it. I've been working on it and in it since I was in grade school. I just don't like it. On Tue, Nov 7, 2017 at 11:07 AM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 11/06/2017 07:00 PM, Mike Kerner via use-livecode wrote: > >> It's a

Re: using LC as an emulator

2017-11-07 Thread Mark Wieder via use-livecode
On 11/06/2017 07:00 PM, Mike Kerner via use-livecode wrote: It's a LOT of code, all of which was originally written 30+ years ago, but we've been maintaining it ever since. Many of the other systems that we have written interface with this core, and extend it, since there are much better tools

Re: Control properties not included in the Property Inspector

2017-11-07 Thread Bob Sneidar via use-livecode
There are no tabs or clear delimiters that I could tell, at least not when scraped from the web page. I tried to paste into a spreadsheet then do text to columns, but there are no clear delimiters. No biggie it's nice to have a list to look through. Bob S > On Nov 6, 2017, at 20:03 , Brian

Re: using LC as an emulator

2017-11-07 Thread Bob Sneidar via use-livecode
I attempted this once for a dBase accounting application. What I ran into is certain things like & which can be used to concatenate, but can also be used to denote a macro substitution variable. Periods would be used to dereference chained macro variables. To reproduce this in Livecode would

Re: The coming of SVG

2017-11-07 Thread Bob Sneidar via use-livecode
+1 for vector something or other. Bob S > On Nov 6, 2017, at 15:35 , Stephen Barncard via use-livecode > wrote: > > How about just plain vector? > > Or is that a parameter? ___ use-livecode mailing list

AW: [OT] Been there, done that

2017-11-07 Thread Tiemo Hollmann TB via use-livecode
YES! -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von J. Landman Gay via use-livecode Gesendet: Dienstag, 7. November 2017 06:22 An: LiveCode Mailing List Cc: J. Landman Gay

Re: Getting directory list from web server??

2017-11-07 Thread Matthias Rebbe via use-livecode
Tim, you can change this setting/behaviour directly in your cPanel account. In cPanel go to "Advanced Section" and select “Indexes". You get a list of folder names something like this / (Current Folder) access-logs cache etc logs mail perl5 public_ftp public_html softaculous_backups