Pi Digital wrote:
> Here’s my take (for what it’s worth). Although Unix is used in 71.6%
> (source: w3techs.com) of all known websites as of today and Linux only
> 29.0%, at least we have ‘a’ distro that works on some server.
That struck me as odd, so I took a moment to see how they derived
Heriberto Torrado wrote:
> So, here is my idea: What about to create non official versions of
> Livecode server (for scripting purposes) for other platforms not yet
> supported?
> I think it could be good for RunRev: They won't have to work
> supporting those versions and Livecode language will
It’s a great idea. How do you propose it be handled? Assuming this is a build
based on the current system it will likely have to be compiled in Linux as the
obvious choice. Do we have anyone with the appropriate skills in coding C to
look into the various server platforms to be compiled for?
You can convert any given date to dateItems. Then you can use dateItems to
present the date in any format you like. A date converted to dateItems will
give you the following list of items:
the year
the month number
the day of the month
the hour in 24-hour time
the minute
the second
the numeric
You can always use a shell command for things like
Dates and Calendars etc. Google it and you will get
plenty of info.
JB
> On Oct 28, 2020, at 2:59 PM, Graham Samuel via use-livecode
> wrote:
>
> A quick test seems to show that the DateFormat can’t be changed by a ‘set’
> command.
>
>
A quick test seems to show that the DateFormat can’t be changed by a ‘set’
command.
How then can I force a date to be in a given format? I’m really thinking of the
difference between US and European dates, i.e
d/m/y versus m/d/y
Obviously for some types of use, an LC program should be able to
You could of course also multiply the width of the card with 0.25, 0.5 and 0.75
to get the same results. Personally I prefer multiplication to division, but
the results will be the same.
Best regards
Tore Nilsen
> 28. okt. 2020 kl. 21:54 skrev William de Smet via use-livecode
> :
>
> Thanks
On 10/28/20 1:04 PM, William de Smet via use-livecode wrote:
I need 3 vertical lines in my iOS app with equal distance and from top to
bottom.
put the width of this cd/4 into tHLoc
put the height of this cd/2 into tVLoc
set the loc of grc "line1" to tHLoc,tVLoc
set the loc of grc
Thanks all,
The use of 1. or (cardWidth/4)*3 did it!
Greetings,
William
Op wo 28 okt. 2020 om 21:28 schreef Brian Milby via use-livecode <
use-livecode@lists.runrev.com>:
> Need to either use 1. or for exact (in this case) (cardWidth/4)*3
>
> Sent from my iPhone
>
> > On Oct 28,
Need to either use 1. or for exact (in this case) (cardWidth/4)*3
Sent from my iPhone
> On Oct 28, 2020, at 4:16 PM, William de Smet via use-livecode
> wrote:
>
> Hi Scott,
>
> Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768).
> This is because 'cardWidth/1.33'
Are you able to use 'CardWidth*4/3' to get 1.33 recurring?
Best,
Keith
> On 28 Oct 2020, at 20:16, William de Smet via use-livecode
> wrote:
>
> Hi Scott,
>
> Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768).
> This is because 'cardWidth/1.33' is not precise enough?
Hi Scott,
Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768).
This is because 'cardWidth/1.33' is not precise enough?
Greetings,
William
Op wo 28 okt. 2020 om 20:54 schreef scott--- via use-livecode <
use-livecode@lists.runrev.com>:
> When you say "almost perfect
When you say "almost perfect but not quite” what exactly are you meaning?
—Scott
> On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode
> wrote:
>
> Hi there,
>
> I need 3 vertical lines in my iOS app with equal distance and from top to
> bottom.
> So I use the script below. It is
Thanks Andre,
I realized that BSD kernels are not the same as MacOS kernels.
As you say: MacOS has a hybrid kernel based on XNU and some parts of BSD.
I'm only interested in running the Livecode server version and not the IDE.
So, I think that compiling could be the best solution.
I have been
Hi there,
I need 3 vertical lines in my iOS app with equal distance and from top to
bottom.
So I use the script below. It is almost perfect but not quite.
Is there a better way to do this?
--
*s*et the loc of grc "line1" to cardWidth/4, cardHeight/2
set the loc of grc "line2" to cardWidth/2,
Try changing this line:
put tImageData["image"] into image "currentpuzzle"
to this:
set the imageData of image "currentpuzzle" to tImageData["image"]
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 28, 2020 6:06:39 AM
On Mon, 19 Oct 2020 at 21:31, Paul McClernan via use-livecode <
use-livecode@lists.runrev.com> wrote:
> >
> > OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations
> > of Unix (I think is just means Linux)".
> >
> > I'm thinking about tinkering with a FreeBSD server and
https://www.dropbox.com/s/gdrsa4git7l6war/imager.livecode.zip?dl=0
Richmond
On 28.10.20 13:34, Richmond wrote:
Remember that you have to lock an image to stop it popping back to its
original size.
Or, alternatively, you could change the order of your code.
Also, you have misspelt 'height'
Remember that you have to lock an image to stop it popping back to its
original size.
Or, alternatively, you could change the order of your code.
Also, you have misspelt 'height' in "resizeToHeigth".
Also, while you have defined "resizeToWidth", you don't appear to have
defined
Take for example
[command] resizeToWidth tImage, 400
on resizeToWidth pImage,pSize
local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight
set the itemdel to "x"
put item 1 of sCurrentGraphicRect into tOrigImgWidth
put item 2 of sCurrentGraphicRect into tOrigImgHeight
Take for example
[command] resizeToWidth tImage, 400
on resizeToWidth pImage,pSize
local tOrigImgWidth, tOrigImgHeight, tRatio, tNewWidth, tNewHeight
set the itemdel to "x"
put item 1 of sCurrentGraphicRect into tOrigImgWidth
put item 2 of sCurrentGraphicRect into tOrigImgHeight
21 matches
Mail list logo