> What would be the difference between adding and deleting an element?
Because you might be writing to an element that doesn't exist. Some
versions/settings, 4D crashes. Other times, it doesn't crash but your array
isn't right. If you've got a group of arrays working together to implement
some
> David, Great points - but, respectfully, does it ever actually happen?
Unless 4D prevents it from happening, then it can happen. So, unless 4D
groups multiple lines of code together in a block, you can get different
processes interleaving in overall execution order. Last I heard, can split
execut
Miyako,
On Mon, Oct 31, 2016 at 10:16 PM, Keisuke Miyako
wrote:
> what if another process removed or changed elements while that process is
> working its way though the IP array?
> would that not become a problem?
>
What would be the difference between adding and deleting an element?
Granted
David,
Great points - but, respectfully, does it ever actually happen? Can you
write an example db that does this?
And bear in mind I'm talking about conditions on a client - not the server.
And I'm not talking about situations where an external client might be
attempting to set variables either.
4DEVAL is designed for expressions that may or may not return a value.
OB Get always returns a value,
so it more natural to use 4DTEXT or 4DHTML.
but I guess you meant something like
*
as for iterating over elements of an array,
you can obtain the array with 4DEVAL+OB GET ARRAY,
and p
I tend to agree,
in general, semaphores should be used to protect "methods" rather than
"objects".
the method may read/write certain documents or access IP variables,
but that is not the most important issue.
some singleton methods may do neither,
but yet require protection.
> 2016/11/01 14:03、
what if another process removed or changed elements while that process is
working its way though the IP array?
would that not become a problem?
but the problem with multi-threaded access in compiled mode is more serious;
you don't want another thread to use the same register while a thread is in
Sure, it's absolutely possible to encounter a race condition if you write
to a shared resource (IP arrays in your case) without a locking mechanism.
It's likelihood increases in compiled mode and as you add more
participants. Even if you can't predict how often you'll encounter a race
condition, yo
This is the sort of thing I think about while driving home...
I see databases using IP variables use a semaphore/locking scheme before
writing to the variable. Something like this:
Lock_object("objectName")
Append to array(<>myArray;$someValue)
Unlock_object("objectName")
The Lock_object method
Hi,
Do you have access to the info report component? I think it may only
be available to partners but if you can get it and can be very useful
for examining these sorts of issues.
Regards,
Wayne
Wayne Stewart
about.me/waynestewart
On 1 November 2016 at 07:19, Benedict, Tom wrote:
> "Denni
Hi Tom,
Yeah, nice summary of working with tags. And yeah I am playing with doing
some processing in the tags after reading Charlie Voss' tech note from last
year or so. In general I build my 4D side methods to generate c-obj/JSON as
output. I was playing with the idea of being able to produce 'htm
"Dennis, Neil" mailto:neil.den...@umb.com>> writes:
>> Don't think you can do this in 13.x I think max cache size is 2 gig
>Doesn't that depend on the OS? Doesn't 13.x have a 64 bit sever for windows?
>Perhaps not, it has been a while since I used 4D v13.
13.x Server has a 64bit version on Wind
Thank you. There also is a multiline field property that seems to interact with
that. My issue is trying to *allow* CRs while still applying an entry filter
via the form or filter editors.
Bill
> On Oct 31, 2016, at 3:16 PM, Bertrand SOUBEYRAND wrote:
>
>
>> Le 31 oct. 2016 à 15:44, Arnaud d
Thanks--
> On Oct 31, 2016, at 3:46 PM, Peter Bozek wrote:
>
> On Mon, Oct 31, 2016 at 4:52 PM, Bill Weale
> wrote:
>
>> It’s 2016 and we’re now all unicode; is there any reason to use a text
>> filter at all if I’m not particularly concerned about controlling input?
>> Has anyone else seen d
There is a known bug in 13.6 that stops you from entering a carriage
return.
If you are on that version, search the NUG for Tim Penners' code (IIRC)
from late last year.
On Monday, October 31, 2016, Bill Weale wrote:
> For a text field, is there any entry (other than no entry) we can make
> eit
On Mon, Oct 31, 2016 at 4:52 PM, Bill Weale
wrote:
> It’s 2016 and we’re now all unicode; is there any reason to use a text
> filter at all if I’m not particularly concerned about controlling input?
> Has anyone else seen different behaviors between using no input filter and
> using a blank/null
Hi Chuck,
Db is 4.716.737 Kb
Ram 4GB
" How much assigned to 4D?" Where i can see this?
On server run: Team Viewer and normal system software
Operating system Windows 2088 R2 Standard.
Thanks
Ferdinando
Il 31/10/2016 20:00, 4d_tech-requ...@lists.4d.com ha scritto:
Message: 2
Date: Mon, 31
> Le 31 oct. 2016 à 15:44, Arnaud de Montard a écrit :
>
> Hi Bill,
> the carriage return is not allowed in alpha fields, but allowed natively in
> text fields. Did you check that?
There is a checkbox located in structure mode associated to the field’s
properties to avoid CR input.
Bertra
Whether or not it actually uses it, the v13 server does allow it to be set to
4000 and shows it in bold as a customized value.
Randy
--
Randy Jaynes
Senior Programmer and Customer Support
http://printpoint.com • (845) 359-0298
> Don’t think you can do this in 13.x I think max cache size is 2 gig
Doesn't that depend on the OS? Doesn't 13.x have a 64 bit sever for windows?
Perhaps not, it has been a while since I used 4D v13.
Neil
--
Privacy Disclaimer: This message contains confidential information and is
Don’t think you can do this in 13.x I think max cache size is 2 gig
Regards
Chuck
Chuck Miller Voice: (617) 739-0306
Informed Solutions, Inc. Fax: (617) 232-1064
mailto:cjmillerinformed-solut
How big is data file? How much memory on the machine? How much assigned to 4D?
Is there anything else on the server? You should be running 13.6 not 13.3.
Is there something else happening within 4D that might be causing this?
Regards
Chuck
Hi Kirk,
You really have 4 modes you can always work with.
1. You can process data in 4D code and call a method from process tag code.
2. You can process data using embedded process tag code itself
3. You can inject the data as json into the page using tags, and process it
using javascript cli
Hi Arnaud and Chuck—
I think I understand (correctly?) that, without any filter, text fields will
accept all characters. It’s also my understanding that a filter acts in a way
that it will allow only those characters specified by the filter itself? And
there’s no way to craft a “deny” filter?
We encountered this issue with both 4D v14.4 and 4D 15R2 on Windows 7:
When you specify a static proxy server in your internet options (Internet
Options, Connections, LAN settings, Use a proxy server for your LAN), HTTP
Request will use that proxy server. If, however, you specify an automatic
conf
Hi Bill,
text fields by there nature except carriage returns. They accept all
characters. If you want to allow cut and paste from word for example, you need
to have a filter that will filter out those hidden characters that are part of
the copy. That is the purpose of filter on text fields, ti
> Le 31 oct. 2016 à 15:11, Bill Weale a écrit :
>
> For a text field, is there any entry (other than no entry) we can make either
> in the Entry Filter of a form object’s property list or in the filter editor
> which would allow the entry of a carriage return?
>
> In other words, can this be
For a text field, is there any entry (other than no entry) we can make either
in the Entry Filter of a form object’s property list or in the filter editor
which would allow the entry of a carriage return?
In other words, can this be done without requiring code?
Thanks,
Bill
William W. Weale
28 matches
Mail list logo