Feeds:
Posts
Comments

What’s a “sie”?

Seriously NYT? I guess it’s hard to type “site” three times in two sentences.

The site created a stir among world governments, who have denounced the site’s actions, and it was booted by its domain name service provider EveryDNS. Assange and the sie also had their accounts suspended

4D text interpolation

For text string building I am very fond of php’s interpolate feature:

# my variable
$name = "Joe Bob";
# my command
$my_sentence = "Hello {$name}!";

In 4D the same can be accomplished with text objects.

`have a table [Table]full_name
` this is the typed string for the text
` notice the "<" and ">" enclosing the field reference
vt_object:="Hello <[Table]full_name>!"
` outputs "Hello Joe Bob!" assuming that was what was loaded in the record

I began experimenting with the 4D command LOG EVENT.

The documentation states the third parameter, importance, is optional. I’ve never used console before, but I had to assign the importance parameter to Error Message for it to show in my console.

Information Message (default) and Warning Message did not show.

` this works
LOG EVENT(Into 4D Debug Message ;"My message";Error Message )

` using the default does not
LOG EVENT(Into 4D Debug Message ;"Does not work" )
Design a site like this with WordPress.com
Get started