RE: WritePro expression undefined

2018-12-21 Thread Tim Nevels via 4D_Tech
On Dec 21, 2018, at 2:00 PM, David Ringsmuth wrote: > Add, > > 4D Write expressions did not require a value to be returned, so it was > acceptable to have embedded Query, Create Set, Intersection, Union, Use Set, > Selection to Array, etc…, commands in the 4D Write document. > > Converted to

Re: Understanding Unicode Characters

2018-12-21 Thread Arnaud de Montard via 4D_Tech
> Le 20 déc. 2018 à 00:07, Robert ListMail via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > [...] why is the unicode value written as “U+2022”, do you ever have to type > “U+”? Hi Robert, you can use an hex value in 4d code by replacing "U+" with "0x": ASSERT(8226=0x2022)

Re: Understanding Unicode Characters

2018-12-21 Thread Robert ListMail via 4D_Tech
Hi Arnaud, thanks for the clarification. Robert Sent from my iPhone > On Dec 21, 2018, at 6:54 AM, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > In the good old ascii, decimal 165 (hex 0xA5) was represented by a bullet, as > you cas see in the range 128..255: >

Re: Storing Dates and Times From Different Time Zones

2018-12-21 Thread Kirk Brooks via 4D_Tech
https://www.youtube.com/watch?v=jgF_ycCmF18 It just had to be said. On Thu, Dec 20, 2018 at 6:04 PM Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > is this a competition? > -- Kirk Brooks San Francisco, CA === *We go vote - they go home*

How to process all WritePro area expressions for replacement / update?

2018-12-21 Thread David Ringsmuth via 4D_Tech
I need some code that will process a 4D WritePro area, updating existing embedded expressions, replacing them with a different expression. The command to get an expression, ST Get expression, works on only some expressions - data structure only like: [Table]Field. Editing a WritePro area using

RE: WritePro expression undefined

2018-12-21 Thread David Ringsmuth via 4D_Tech
Add, 4D Write expressions did not require a value to be returned, so it was acceptable to have embedded Query, Create Set, Intersection, Union, Use Set, Selection to Array, etc…, commands in the 4D Write document. Converted to WritePro, the same expressions return “Undefined”. It is a change

[resolved] v13 - Interpreted - Out of Stack space - Wierd

2018-12-21 Thread Chip Scheide via 4D_Tech
I did manage to track down the problem - The problem was related screen resolution and orientation. -- Apparently 4D does not like mixed monitor orientations. In this particular case 1 monitor is in 'normal' orientation (wider then high), the second monitor was in vertical orientation

Re: Storing Dates and Times From Different Time Zones

2018-12-21 Thread Arnaud de Montard via 4D_Tech
> Le 20 déc. 2018 à 18:54, Nate Rheaume via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > We have clients that are accessing the same server database from different > time zones. We would like to store date/time using GMT and then display it in > the users local time zone. As I understand,

Re: WritePro expression undefined

2018-12-21 Thread Add Komoncharoensiri via 4D_Tech
Hi David, If you are insert an expression into a 4D Write Pro document, the expression should return a value. For example: 100+90 Current date projectMethodThatReturnAValue For QUERY command, the execution will produce a selection of record in memory. It does not return a value that can be

Re: How to process all WritePro area expressions for replacement / update?

2018-12-21 Thread John DeSoi via 4D_Tech
This may help you get started: ARRAY LONGINT($aPos;0) ARRAY LONGINT($aLen;0) $start:=1 While (Match regex("\\s*)";$text;$start;$aPos;$aLen)) $expr:=Substring($text;$aPos{2};$aLen{2}) $expr:=Substring($expr;10) //Strip off leading -d4-ref:' $expr:=URL_Decode ($expr) End while John