Search found 14 matches

by enterprisedynamics
Thursday 15 May, 2014 - 13:32
Forum: Enterprise Dynamics 4DScript
Topic: Move cursor in 4dScript editfield
Replies: 1
Views: 3333

Move cursor in 4dScript editfield

I installed ED on my computer. When writing 4DScript code, I noticed that when I'm writing code for the first time, there is no problem. When I confirm an Edit 4D Script window and want to edit the code again, I can not move the cursor and I can not create a code selection area to select parts of my...
by enterprisedynamics
Wednesday 03 July, 2013 - 13:43
Forum: Enterprise Dynamics 4DScript
Topic: Question
Replies: 9
Views: 7369

Re: Question

Thank you! I believe it's working now.
by enterprisedynamics
Tuesday 02 July, 2013 - 15:41
Forum: Enterprise Dynamics 4DScript
Topic: Question
Replies: 9
Views: 7369

Re: Question

Thank you for your suggestions! I still have a few problems unfortunately. When I run your edited model one of two possible things happens: - I get the same error as before (I think, the errors pile up really fast and ED crashes). I believe that I'm checking the content of every atom before I start ...
by enterprisedynamics
Tuesday 02 July, 2013 - 10:53
Forum: Enterprise Dynamics 4DScript
Topic: Question
Replies: 9
Views: 7369

Re: Question

Hello again, I think this is working, I also avoided the use of AtomByName which seemed to help. I now however have another problem. I've attached my model to explain this better. The code as I am using it can also be found in the 'on entry' fields of the servers. Products that arrive at a server fr...
by enterprisedynamics
Monday 01 July, 2013 - 14:05
Forum: Enterprise Dynamics 4DScript
Topic: Question
Replies: 9
Views: 7369

Re: Question

Hello again, I've updated this code to make it suitable for my model, this is what I got: If( Label([Type], i) = 1, Do( var([x],vbAtom,First(In(2,c))), If( Label([Match],First(c))=Label([Match],First(AtomByName([DoordeweeksPreAlerts]))), Do( DestroyEventsOfAtom(AtomByName([DoordeweeksPreAlerts])), M...
by enterprisedynamics
Friday 28 June, 2013 - 08:26
Forum: Enterprise Dynamics 4DScript
Topic: Question
Replies: 9
Views: 7369

Re: Question

Thank you so much!
by enterprisedynamics
Thursday 27 June, 2013 - 16:54
Forum: Enterprise Dynamics 4DScript
Topic: Question
Replies: 9
Views: 7369

Question

Hello, I'm trying to model a situation where a certain server receives products from two different queues. Whenever the server receives a product from the first queue, this product will have a label named Match with a certain value. Furthermore, there will be a product in the second queue (i.e. in(2...
by enterprisedynamics
Wednesday 22 May, 2013 - 14:52
Forum: Enterprise Dynamics 4DScript
Topic: Inconsistent table read
Replies: 2
Views: 3452

Re: Inconsistent table read

Harry,
This is exactly the case with my cells.
Your answer saved me a lot of time! Thanks.
by enterprisedynamics
Wednesday 22 May, 2013 - 14:50
Forum: Modeling in Enterprise Dynamics
Topic: Pre-alerts
Replies: 5
Views: 6279

Re: Pre-alerts

Thank you!
by enterprisedynamics
Wednesday 22 May, 2013 - 13:47
Forum: Enterprise Dynamics 4DScript
Topic: Inconsistent table read
Replies: 2
Views: 3452

Inconsistent table read

My ED table contains a value with one decimal space (separated with point) that originates from an excel sheet.
When I use the Cell(x,y,atom) 4DScript command, the command returns a value without a point but the string does contain a point?! (see image).
Does anyone have an idea how this is possible?