RE: 4D Write PRO expressions

2018-07-17 Thread Timothy Penner via 4D_Tech
> What’s the difference between these 2-URLs.
> doc.4d.com
> cdn.doc.4d.com

Nothing really... CDN is an alias to the other;

$ nslookup doc.4d.com
Non-authoritative answer:
Name:doc.4d.com
Address:  91.134.136.116


$ nslookup cdn.doc.4d.com
Non-authoritative answer:
Name:doc.4d.com
Address:  91.134.136.116
Aliases:  cdn.doc.4d.com

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write PRO expressions

2018-07-17 Thread Jeremy French via 4D_Tech
Hi Miyako,

What’s the difference between these 2-URLs. 

doc.4d.com 

cdn.doc.4d.com 


- Jeremy French


> On Jul 17, 2018, at 4:16 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> http://cdn.doc.4d.com/4Dv16R6/4D/16-R6/SET-ALLOWED-METHODS.301-3548364.en.html
>  
> 

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write PRO expressions

2018-07-17 Thread Two Way Communications via 4D_Tech
Dammit! I read that, but had totally forgotten about it…

In the documentation, the error is even mentioned: ## ERROR # 48! 

Strangely, when you search the on line documentation for ## ERROR # 48, it 
doesn’t find it …

Thanks Keisuke, you saved my day (again ;-))


Rudy Mortier
Two Way Communications bvba 



> On 17 Jul 2018, at 22:16, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> did you explicitly call SET ALLOWED METHODS?
> 
> http://cdn.doc.4d.com/4Dv16R6/4D/16-R6/SET-ALLOWED-METHODS.301-3548364.en.html
> 
> http://cdn.doc.4d.com/4Dv16R6/4D/16-R6/Filter-expressions-contained-in-a-4D-Write-Pro-document.300-3605842.en.html
> 
> 2018/07/17 20:36、Two Way Communications via 4D_Tech 
> <4d_tech@lists.4d.com>のメール:
> I inserted an expression in a 4D Write PRO area, and the expression is 
> actually a method returning a text in $0:
> 4WRPRO_INSERT(“test”)
> Any ideas why it is not working in 4D Write PRO?
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write PRO expressions

2018-07-17 Thread Keisuke Miyako via 4D_Tech
did you explicitly call SET ALLOWED METHODS?

http://cdn.doc.4d.com/4Dv16R6/4D/16-R6/SET-ALLOWED-METHODS.301-3548364.en.html

http://cdn.doc.4d.com/4Dv16R6/4D/16-R6/Filter-expressions-contained-in-a-4D-Write-Pro-document.300-3605842.en.html

2018/07/17 20:36、Two Way Communications via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
I inserted an expression in a 4D Write PRO area, and the expression is actually 
a method returning a text in $0:
4WRPRO_INSERT(“test”)
Any ideas why it is not working in 4D Write PRO?



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Write PRO expressions

2018-07-17 Thread Two Way Communications via 4D_Tech
I inserted an expression in a 4D Write PRO area, and the expression is actually 
a method returning a text in $0:

4WRPRO_INSERT(“test”)

However, when showing the values in stead of the references in the 4D Write PRO 
area, the value always shows ‘## ERROR # 48’

When I execute the method inside another method:

$result:=4WRPRO_INSERT(“test”)

the result is shown correctly, also when using ‘Execute formula’, so the method 
works.

I’ ve tried to debug the method, but the debugger doesn’t show when using it 
inside the 4D Write PRO area, like the method is not even called…


Any ideas why it is not working in 4D Write PRO?


Rudy Mortier
Two Way Communications bvba 


**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**